Question: [COMPUTER SCIENCE HELP (1/3)] Task 1: Create an employee Class that encapsulates the concept of an employee. The attributes of an employee are: id a
[COMPUTER SCIENCE HELP (1/3)]
Task 1:
Create an employee Class that encapsulates the concept of an employee. The attributes of an employee are:
id
a random integer in the range 0 to 99999999 (i.e. like a social security number)
we will ignore the fact that we may get duplicate id numbers
name
a String of a random length between 5 and 10 characters (inclusive) made up of a random set of lower case characters
dept
a random integer in the range 1 to 5 (inclusive)
hired
a random integer in the range 2008 to 2018 (inclusive)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
