🎙 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 2 of 10

Two methods in the same class named add(int, int) and add(double, double) show:

Two methods in the same class named add(int, int) and add(double, double) show:

  1. A.Overloading
  2. B.Overriding
  3. C.Inheritance
  4. D.Abstraction
Answer & explanation

Correct answer: Overloading

Same name, different parameter types, same class → overloading.

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 →