Write a program that models an employee. An employee has an employee number, a name, an address, and a hire date. A name consists of a first name and a last name. An address consists of a street, a city, a state (2 characters), and a 5-digit zip code. A date consists of an integer month, day and year.
Use an Employee class, a Name class, an Address class, and a Date class in your solution. Provide appropriate class constructors, getter methods, setter methods, and any other methods you think are necessary.
Your program should prompt the user to enter data for several employees and then display that data. The number of employees to store data for shall be entered from the command line.
This question was asked on Jun 17, 2011.
Recently Asked Questions
- Can you please help me with this question? I have already filled out the charts.
- _______ is characterized by episodes of manic behavior and episodes of depression typically with "normal" episodes in between.
- In 2013, Henry and Emily were married and were filing their taxes jointly. They do not have children yet and will be claiming the standard deduction. Knowing