मराठी

The concept in Java to perform method overloading and method overriding is called ______. - Computer Science (Theory)

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2021-2022 (March) Official Board Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×