In OOP, what does the term "method signature" refer to?ओओपी में, "विधि हस्ताक्षर" शब्द क्या दर्शाता है?
Show answerHide answer
Correct answer: (D) The combination of method name and parameter typesविधि नाम और पैरामीटर प्रकारों का संयोजन
Explanation
A method signature is the method's name together with its parameter list (number, types and order). In Java and C++ the return type is not part of it, which is why overloads must differ in parameters.Method signature मेथड का नाम और उसकी पैरामीटर सूची (संख्या, प्रकार और क्रम) है। Java और C++ में return type इसका हिस्सा नहीं होता, इसीलिए overload के पैरामीटर अलग होने चाहिए।