मराठी
महाराष्ट्र राज्य शिक्षण मंडळएचएससी विज्ञान (संगणक विज्ञान) इयत्ता १२ वी

______ is a mechanism to achieve run time polymorphism. - Computer Science 1

Advertisements
Advertisements

प्रश्न

______ is a mechanism to achieve run time polymorphism. 

पर्याय

  • Operator Overloading

  • Virtual Function

  • Function Overloading

  • Constructor

MCQ
रिकाम्या जागा भरा

उत्तर

Virtual Function is a mechanism to achieve run time polymorphism. 

Explanation:

Runtime polymorphism can be achieved in object-oriented programming (OOP) through the use of virtual functions. A vtable (virtual table) is used at runtime to resolve the function call when a base class designates a function as virtual, allowing derived classes to override the function. 

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2023-2024 (March) Official
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×