READ Free Dumps For Oracle- 1z0-851
Question ID 3841 | Given: |
Option A | A. p0 = p1; |
Option B | B. p1 = p2; |
Option C | C. p2 = p4; |
Option D | D. p2 = (ClassC)p1; |
Option E | E. p1 = (ClassB)p3; |
Option F | F. p2 = (ClassC)p4; |
Correct Answer | A,E,F |
Question ID 3842 | Which three statements are true? (Choose three.) |
Option A | A. A final method in class X can be abstract if and only if X is abstract. |
Option B | B. A protected method in class X can be overridden by any subclass of X. |
Option C | C. A private static method can be called only within other static methods in class X. |
Option D | D. A non-static public final method in class X can be overridden in any subclass of X. |
Option E | E. A public static method in class X can be called by a subclass of X without explicitly referencing the class X. |
Option F | F. A method with the same signature as a private final method in class X can be implemented in a subclass of X. |
Correct Answer | B,E,F |