Limited access

Upgrade to access all content for this subject

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.

Select an assignment template