← 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:
- A.Overloading
- B.Overriding
- C.Inheritance
- 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 →