CS202 6- ‹#›
What is..Operator Overloading
nOperator Overloading:
äAllows us to define the behavior of operators when applied to objects of a class
äExamine what operators make sense for a “new data type” we are creating (think about data abstraction from last lecture) and implement those that make sense as operators:
äinput_data   is replaced by  >>
ädisplay   is replaced by <<
äassign or copy is replaced by =
n