Overriding
vs.
Hiding
•
We
override
an instance method of a superclass by
providing an instance method in a derived class with the
same form of heading
•
We
hide
a data field of a superclass by providing a field
in a derived class with the same name