OCA Java SE 8 Mock Exam Review - OCA Mock Question 18
Question
Which set of statements result in ClassB and ClassC being derived from ClassA?
- class ClassB extends ClassA {}
- class ClassB extends ClassC {}
- class ClassA extends ClassB {}
- class ClassC extends ClassB {}
- No combination will work
Answer
Note
This results in ClassC being the "grandchild" of ClassA.