OCA Java SE 8 Mock Exam Review - OCA Mock Question 18


Which set of statements result in ClassB and ClassC being derived from ClassA?

  1. class ClassB extends ClassA {}
  2. class ClassB extends ClassC {}
  3. class ClassA extends ClassB {}
  4. class ClassC extends ClassB {}
  5. No combination will work


A and D


This results in ClassC being the "grandchild" of ClassA.