MCQ
Which class inherits all instance variables and method from superclass and may have its own variables and methods ?
  • A
    Child class
  • B
    Subclass
  • Both A & B
  • D
    Superclass

Answer

Correct option: C.
Both A & B
C

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free