¥We can hoist the fields name, address, and phone and
the getters getAddress
and getPhone. To perform this transformation we must introduce
a constructor in the abstract class CityEntry to initialize the fields declared in
the class. This constructor can be
called from subclass constructors by using the special method name super.
¥This hoisting process does not affect the form of the class
diagram.