欢迎来到求知题库网 求知题库官网
logo
全部科目 > Java认证考试 > SCDCD(310-081)

多项选择题

Which the two demonstrate an “is a” relationship?()

    A. public interface Person {}  Public class Employee extends Person {}
    B. public interface Shape {}  public interface Rectangle extends Shape {}
    C. public interface Color {}  public class Shape { private Color color; }
    D. public class Species {}  public class Animal { private Species species; }
    E. interface Component {} Class Container implements Component {private Component [] children;

点击查看答案

相关考题

  • 多项选择题
    WhichtwooverloadthesetVarmethod()

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

  • 单项选择题
    Whichthefollowingstatementsaboutstaticinnerclassesistrue?()

    A. An anonymous class can be declared as static.
    B. A static inner class cannot be a static member of the outer class.
    C. A static inner class does not require an instance of the enclosing class.
    D. Instance member of a static inner class can be referenced using the class name of the staticinner class.

  • 多项选择题
    Whichthe following twostatementsaretrue?()

    A. An inner class may be declared as static.
    B. An anonymous inner class can be declared as public.
    C. An anonymous inner class can be declared as private.
    D. An anonymous inner class can extend an abstract class.
    E. An anonymous inner class can be declared as protected.

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

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

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

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