X. Every B object is also an A object. Y. Every A object is also a B object.
X and Y
X only
Y only
Neither X nor Y
Correct Answer : D
Given classes are A and B. Class A and class B are not related as parent-child. So neither, every object of A is object of B nor vice-versa.
If it was like below: