Advertisements
Advertisements
प्रश्न
The concept in Java to perform method overloading and method overriding is called ______.
पर्याय
inheritance
polymorphism
data abstraction
encapsulation
MCQ
रिकाम्या जागा भरा
Advertisements
उत्तर
The concept in Java to perform method overloading and method overriding is called polymorphism.
Explanation:
Polymorphism means “one thing in many different forms”. Function Overriding is an OOPS concept in which a child class function conceals or overrides a base class function with the same name and signature. It explains and implements the idea of polymorphism. Function overloading allows for the creation of numerous functions with the same name but different signatures within the same scope. This effectively shows the concept of polymorphism.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
