• 2022-06-12
    The new student is ______.
    A: Linda
    B: Betty
    C: Maria
  • B

    内容

    • 0

      假设 Student类为Person类的子类,则下面()创建对象是错误的。 A: Studentbase = new Student() B: Personbase = new Person() C: Personchild = new Student() D: Studentchild = new Person();

    • 1

      在Java中,有如下两个类Student和Person。如果Student是Person的子类,则下列声明对象x的语句中错误的是()。 A: Person x = new Student() B: Person x = new Person() C: Student x = new Person() D: Student x = new Student()

    • 2

      The new student is in _______.

    • 3

      The new student is in _______.

    • 4

      The new student is in _______.