?

AP® Computer Science A

Free Version

Upgrade subject to access all content

Easy

IS-A Terminology

APCSA-E4F6DE

Consider the following classes:

public class B {
    // methods not shown
}

public class C extends B {
    // methods not shown
}

public class D extends C {
    // methods not shown
}

Which of the following statements is correct concerning the relationships between these three classes?

A

C IS-A B and B IS-A C.

B

C IS-A B and D IS-A B.

C

B IS-A C and C IS-A D.

D

B IS-A C and B IS-A D.

E

B IS-A C and C IS-A B.