PortableElectronics

PortableElectronics - public PortableElectronics (String...

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

View Full Document Right Arrow Icon
//******************************************************************** // PortableElectronics.java Author: Lewis/Loftus // // Represents a generic portable electronic device. //******************************************************************** / abstract public class PortableElectronics extends Electronics { //---------------------------------------------------------------- // Sets up a portable device 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 PortableElectronics (String eManufacturer, double ePrice, double eWeight) { super (eManufacturer, ePrice, eWeight); } //----------------------------------------------------------------// Derived classes must define the batteryType method for each // type of device. //----------------------------------------------------------------public abstract String batteryType(); }...
View Full Document

Ask a homework question - tutors are online