Home Segments Top Top Previous Next

367: Practice

Define a RailroadCarInterface as a substitute for the requirement-imposing abstract class that you were asked to define in Segment 346. Be sure to include an abstract volume method.