Now, the one-parameter constructors in the Movie
and Symphony
classes call the one-parameter constructor in the Attraction
class:
*--------------------------* | Attraction: | | | | constructors: | | zero parameter <-------------* | | | | one parameter <-----------* | | | | | *--------------------------* | | ^ | | | extends | | *--------------------------* | | | Movie: | | | | | | | | constructors: | | | | one parameter -----------* | | three parameter -------------* | ^ | | | | | four parameter | *--------------------------*