Ship, CruiseShip, CargoShip Classes, and Displayable Interface
Ship, CruiseShip, CargoShip Classes, and Displayable Interface Ship, CruiseShip, CargoShip Classes, and Displayable Interface Design an abstract Ship class that has the following members: • A field for the name of the ship (a string).• A field for the year that the ship was built (a string). • A constructor and appropriate accessor and mutators.• A toString method that displays the ships name and […]
Ship, CruiseShip, CargoShip Classes, and Displayable Interface Read More »