CSC/ECE 517 Fall 2010/ch5 5a KR

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