Multiple Choice Question

Quiz Guidelines

 

QID: 
190
Question: 

Consider this code:

interface X1{ }
interface X2{ }
class A { }
class B extends A implements X1{ }
class C extends B implements X2{
D d = new D();
}
class D { }

Which of the following statements are true?

Select 3 options

A. D is-a B.
B. B has-a D.
C. C is-a A
D. C is-a X1
E. C is-a X2

Q&A Set: