Employee - { wholeName = newName; } public void...

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

View Full Document Right Arrow Icon
/** * The Employee class <Superclass * of SalariedEmployee class> * @author Jeff Cox */ * class Employee { private String wholeName; private String address; public Employee() { wholeName = ""; address = ""; } public void setWholeName(String newName)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { wholeName = newName; } public void setAddress(String newAdd) { address = newAdd; } public String getAddress() { return address; } public String getWholeName() { return wholeName; } }...
View Full Document

This note was uploaded on 07/28/2009 for the course CSI 161 taught by Professor Deborahpenna during the Spring '09 term at Anne Arundel CC.

Ask a homework question - tutors are online