多项选择题X 纠错

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.

参考答案:
查答案就用赞题库小程序 还有拍照搜题 语音搜题 快来试试吧
无需下载 立即使用

你可能喜欢

多项选择题

A.p0 = p1;
B.p1 = p2;
C.p2 = p4;
D.p2 = (ClassC)p1;
E.p1 = (ClassB)p3;
F.p2 = (ClassC)p4;

单项选择题

A.Canada
B.null Canada
C.Canada null
D.Canada Canada
E.Compilation fails due to an error on line 26.
F.Compilation fails due to an error on line 29.

单项选择题

A.three
B.other
C.An exception is thrown at runtime.
D.Compilation fails because of an error on line 12.
E.Compilation fails because of an error on line 13.
F.Compilation fails because of an error on line 15.

单项选择题

A.test end
B.Compilation fails.
C.test runtime end
D.test exception end
E.Throwable is thrown by main at runtime.

单项选择题

A.The value "4" is printed at the command line.
B.Compilation fails because of an error in line 5.
C.Compilation fails because of an error in line 9.
D.A NullPointerException occurs at runtime.
E.A NumberFormatException occurs at runtime.
F.An IllegalStateException occurs at runtime.

单项选择题

A.null
B.finally
C.null finally
D.Compilation fails.
E.finally exception

单项选择题

A.javac Mule.java
B.javac -source 1.3 Mule.java
C.javac -source 1.4 Mule.java
D.javac -source 1.5 Mule.java

单项选择题

A.null
B.zero
C.some
D.Compilation fails.
E.An exception is thrown at runtime.

单项选择题

A.B
B.B, followed by an Exception.
C.Compilation fails due to an error on line 9.
D.Compilation fails due to an error on line 14.
E.An Exception is thrown with no other output.

赞题库

赞题库-搜题找答案

(已有500万+用户使用)


  • 历年真题

  • 章节练习

  • 每日一练

  • 高频考题

  • 错题收藏

  • 在线模考

  • 提分密卷

  • 模拟试题

无需下载 立即使用

版权所有©考试资料网(ppkao.com)All Rights Reserved