The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
This is in Java..eclipse.. I need this asap please, and thank you
For version 1 your job will be to create an Employee class.
Requirements:
Employee Name: John Doe
Start Year: 2017
o Parameter Constructor that sets the following fields:
First Name, Last Name, Social Security Number, Start Year, Department, Department Code
Department Code
Department, Department Code
The purpose of this method is to generate the ID number.The ID number should be generated randomly, in the format AA-XXXX with the following rules: o The first letter should be generated from the first character of the first name
o The second letter should be generated from the first character of the last name
o The 4 digits should be generated randomly. For example:
Employee Name: John Doe
ID number: JD-8232
Note: This method should be called from both constructors.
• (20 pts) Create a driver class called EmployeeTester. Be sure to fully test your class.