![]() |
![]() |
![]() |
![]() |
![]() |
|
The protected minutes instance variable is available not only to
methods defined in the Attraction class definition, but also to
methods defined in the Movie and Symphony classes, because
those classes are subclasses of the Attraction class and because
both are defined in the same package as the Attraction class.
The
minutes instance variable is also accessible to methods defined in
the Auxiliaries class, because that class is in the same package as
the Attraction class.