home *** CD-ROM | disk | FTP | other *** search
- The C++ statements you see here could be in the same block of C++
- code. There are two different display() functions. The compiler
- selects the function that is a member of the class of each object.
- Note that these display() functions do not have the same number,
- or types, of arguments. Functions with the same name do not have
- to do the same, or even similar, things. However, it is wise to
- duplicate a name only when the functions' activities are logically
- related.
-