Current Article  

Method overloading

Method Overloadingfeature foundvarious programming languages such as C++ that allowscreationseveral functionss withsame name which differ from each otherterms oftype ofinput andtype ofoutput offunction.

An examplethis would besquare function which takesnumberreturnssquarethat number. In this case, itnecesarycreate different functionsintegerfloating point


Copyright 2004. All rights reserved.