🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Polymorphism: all 10 questions

Quiz: Polymorphism · Question 1 of 10

Method overriding is an example of:

Method overriding is an example of:

  1. A.Compile-time polymorphism
  2. B.Runtime polymorphism
  3. C.Encapsulation
  4. D.Composition
Answer & explanation

Correct answer: Runtime polymorphism

The JVM/interpreter chooses the overridden method based on the actual object at runtime.

Can you get the rest right without peeking?

Take the timed Quiz: Polymorphism quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →