Overloading
Vs Overriding
q
Overloading deals with multiple methods in the same class
with the same name but different signatures.
q
Overloading lets you define a similar operation in
different ways for different data.
q
Overriding deals with two methods, one in a parent class
and one in a child class, that have the same signature.
q
Overriding lets you define a similar operation in different
ways for different object types.