問題詳情
88Which Three statements are true? (Choose Three.) 1. A final method in class X can be abstract if and only if X is abstract. 2. A protected method in class X can be overridden by any subclass of X. 3. A private static method can be called only within other static methods in class X. 4. A non-static public final method in class X can be overridden in any subclass of X. 5. A public static method in class X can be called by a subclass of X without explicitly referencing theclass X. 6. A method with the same signature as a private final method in class X can be implemented in a subclassof X. 7. A protected method in class X can be overridden by a subclass of X only if the subclass is in the samepackage as X.
(A) 123
(B) 456
(C) 256
(D) 1256
參考答案