Multiple Choice Question

Quiz Guidelines

 

QID: 
500
Question: 

Given that OurClass is a MyClass and OurClass has a YourClass object.

Which of the following options are correct?
(Assume and OurClass, MyClass, and YourClass are valid java classes.)

Select 2 options

A. MyClass contains a reference to OurClass
B. OurClass contains a reference to MyClass 
C. MyClass contains a reference to YourClass
D. OurClass contains a reference to YourClass
E. OurClass inherits from MyClass

Q&A Set: