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
Method overloading chooses which implementation to run from the number and types of arguments passed (compile-time polymorphism).Method overloading में, पास किए गए arguments की संख्या और प्रकार देखकर तय होता है कि कौन-सा implementation चलेगा (compile-time polymorphism)।