CSC/ECE 517 Fall 2010/ch5 5a KR

From Expertiza_Wiki
Revision as of 21:10, 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 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

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

[2] Operator Overloading

[3] Function Overloading