What is the term for the ability of a class to provide different implementations of aइनपुट मापदंडों के आधार पर एक विधि के विभिन्न कार्यान्वयन प्रदान करने के लिए एक वर्ग की क्षमता के
What is the term for the ability of a class to provide different implementations of a
method based on the input parameters?
इनपुट मापदंडों के आधार पर एक विधि के विभिन्न कार्यान्वयन प्रदान करने के लिए एक वर्ग की क्षमता के
लिए शब्द क्या है?
Show answerHide answer
Correct answer: (A) Overloadingओवरलोडिंग
Explanation
Overloading means defining several methods with the same name but different parameter lists; the version called depends on the arguments passed. It is a form of compile-time polymorphism.Overloading का अर्थ है एक ही नाम की कई मेथड बनाना जिनकी पैरामीटर सूची अलग हो; कौन सी चलेगी यह दिए गए आर्गुमेंट पर निर्भर करता है। यह compile-time polymorphism का रूप है।