Advertisements
Advertisements
Question
Java implements polymorphism through ______.
Fill in the Blanks
Advertisements
Solution
Java implements polymorphism through method overloading.
Explanation:
- Method Overloading: Multiple methods in the same class share the same name but use different parameters (compile-time).
- Method Overriding: A child class redefines a method inherited from its parent class to change its behaviour (runtime).
shaalaa.com
Is there an error in this question or solution?
Chapter 3: User-Defined Methods - Exercises [Page 91]
