多做题,通过考试没问题!

Oracle认证考试

睦霖题库>其他计算机考试>Oracle认证考试

Which three statements are true?()

  • A、A final method in class X can be abstract if and only if X is abstract.
  • B、A protected method in class X can be overridden by any subclass of X.
  • C、A private static method can be called only within other static methods in class X.
  • D、A non-static public final method in class X can be overridden in any subclass of X.
  • E、A public static method in class X can be called by a subclass of X without explicitly referencing the class X.
  • F、A method with the same signature as a private final method in class X can be implemented in a subclass of X.
  • G、A protected method in class X can be overridden by a subclass of X only if the subclass is in the same package as X.
正确答案:B,E,F
答案解析:
进入题库查看解析

微信扫一扫手机做题