Introduction to Object Oriented Programming, 3rd Ed

Timothy A. Budd

Chapter 15

Overloading

Outline

  1. Roadmap
  2. Definition of Overloading
  3. Overloading Based on Scopes
    1. Florist Example from Chapter 1
    2. Resolving Overloaded Names
  4. Overloading Based on type Signatures
    1. Resolution Performed at Compile Time
    2. Stream Output in C++
    3. Easy to Extend
    4. Conversion and Coercison
  5. Redefinitions
    1. Example Illustrating Redefinition Models
  6. Optional Parameters
    1. Arbitrary Number of Arguments in C#
  7. Chapter Summary

Other Material

Intro OOP, Chapter 15, Outline