In this assignment, you are going to write four related classes (plus the main() program), RailroadCar, TankCar, BoxCar, and RefrigeratorCar. Using class inheritance and polymorphism, you are going to write a well-organized object-oriented Java program.
-
Updated
Dec 4, 2022 - Java