In OOP, what is method overloading?ओओपी में, विधि ओवरलोडिंग क्या है?
Show answerHide answer
Correct answer: (C) Defining multiple methods with the same name but different parametersएक ही नाम लेकिन विभिन्न मापदंडों के साथ कई विधियों को परिभाषित करना
Explanation
Method overloading means defining several methods with the same name in a class but with different numbers or types of parameters; the compiler picks the right one from the call.Method overloading का अर्थ है क्लास में एक ही नाम की कई मेथड बनाना जिनके पैरामीटर की संख्या या प्रकार अलग हों; कंपाइलर कॉल देखकर सही मेथड चुनता है।