English

Java implements polymorphism through ______.

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]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 3 User-Defined Methods
Exercises | Q 2. (viii) | Page 91
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×