MCQ
Which of the following syntax is used for not overriding the method in the subclass when superclass and subclass have methods with the same signature?
  • A
    _method name
  • super, method name
  • C
    super. method name
  • D
    None of these

Answer

Correct option: B.
super, method name
super, method name

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