CSC/ECE 517 Fall 2010/ch5 5a KR

From Expertiza_Wiki
Revision as of 21:08, 1 November 2010 by Kkrishn (talk | contribs)
Jump to navigation Jump to search

Overloading-Good or Bad?

Introduction

Overloading can be broken down into Operator overloading [1] and Method/Function overloading. Method overloading can be considered to be a type of polymorphism in which two methods with the same name are used to perform different functions according to the parameters passed to the methods. Operator overloading can be considered to be a type a polymorphism in which a particular operator is defined to perform another action.

Operator Overloading

References

[2] Andrew Black, Kim. B. Bruce, James Noble. Designing the Next Educational Programming Language

[3] Operator Overloading

[4] Function Overloading