欢迎来到在线考试题库网 在线考试题库官网
logo
全部科目 > Java认证考试 > SCJP程序员认证考试

多项选择题

Which two classes correctly implement both the java.lang.Runnable and the java.lang.Cloneable interfaces?()

    A.A
    B.B
    C.C
    D.D
    E.E

点击查看答案

相关考题

  • 单项选择题
    Which statement is true about the class of an object that can reference the variable base?()

    A.It can be any class.
    B.No class has access to base.
    C.The class must belong to the geometry package.
    D.The class must be a subclass of the class Hypotenuse.

  • 单项选择题
    What is the result?()

    A.Compilation fails because of an error in line 3.
    B.Compilation fails because of an error in line 7.
    C.Compilation fails because of an error in line 9.
    D.If you define D e = new E(),then e.bMethod() invokes the version of bMethod() defined in Line 5.
    E.If you define D e = (D)(new E()),then e.bMethod() invokes the version of bMethod() defined in Line 5.
    F.If you define D e = (D)(new E()),then e.bMethod() invokes the version of bMethod() defined in Line 9.

  • 多项选择题
    Which three are valid on line 12?()

    A.final
    B.static
    C.native
    D.public
    E.private
    F.abstract
    G.protected

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题