{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HomeAppliance - public HomeAppliance(String eManufacturer...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
//******************************************************************** // HomeAppliance.java Author: Lewis/Loftus // // Represents a generic home appliance. //******************************************************************** / abstract public class HomeAppliance extends Electronics { //---------------------------------------------------------------- // Sets up a home appliance with the specified information. //----------------------------------------------------------------
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: public HomeAppliance (String eManufacturer, double ePrice, double eWeight) { super (eManufacturer, ePrice, eWeight); } //----------------------------------------------------------------// Derived classes must define the room method for each // type of appliance. //----------------------------------------------------------------public abstract String room(); }...
View Full Document

{[ snackBarMessage ]}