Advertisements
Advertisements
प्रश्न
In what way method overloading is advantageous?
लघु उत्तरीय
उत्तर
During program compilation, the compiler selects the most appropriate method arguments and parameter lists based on the quantity and type of parameters. This behaviour is referred to as early binding or static binding.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: User - Defined Methods - EXERCISES [पृष्ठ ३३७]