Oracle
1Z0-851 · Question #190
Which three statements are true? (Choose three.)
The correct answer is B. A protected method in class X can be overridden by any subclass of X. E. A public static method in class X can be called by a subclass of X without explicitly referencing F. A method with the same signature as a private final method in class X can be implemented in. See the full explanation below for the reasoning.
Question
Which three statements are true? (Choose three.)
Options
- AA final method in class X can be abstract if and only if X is abstract.
- BA protected method in class X can be overridden by any subclass of X.
- CA private static method can be called only within other static methods in class X.
- DA non-static public final method in class X can be overridden in any subclass of X.
- EA public static method in class X can be called by a subclass of X without explicitly referencing
- FA method with the same signature as a private final method in class X can be implemented in
- GA protected method in class X can be overridden by a subclass of X only if the subclass is in the
How the community answered
(18 responses)- A6% (1)
- B72% (13)
- C17% (3)
- G6% (1)
Community Discussion
No community discussion yet for this question.