April 2019
Intermediate to advanced
360 pages
9h 17m
English
The following UML class diagram shows the TrainStatus interface, which is implemented by five additional classes. Each of those classes is identical with the exception of the NullObjectTrain class, which will have no functionality:

As indicated in the UML class diagram, the WesterTrain, NorthernTrain, EasterTrain, SouthernTrain, and NullObjectTrain classes each implement the TrainStatus interface.
Read now
Unlock full access