Advertisements
Advertisements
प्रश्न
Java implements polymorphism through ______.
रिकाम्या जागा भरा
Advertisements
उत्तर
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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 3: User-Defined Methods - Exercises [पृष्ठ ९१]
