The assignment is to simulate "Mechanical" department of "XYZ College". The department has computer laboratories and equipments.
The department has three computer labs each having some distinct properties/features.
1. OOP Laboratory has a UNIX Server and has a UNIX network
2. NT Laboratory has a VC and has a Windows NT network
3. MP Laboratory has a Linux network
The Department has a Head of Department and 2 Professors.
Each lab has a printer and computers.
Each printer is specified by its type (dot matrix, inkjet or Laser) and its make (HP, SONY or SAMSUNG).
Every Lab has a Lab instructor.
A computer is specified by its name, RAM size, Hard Disk capacity, its Processor speed and Processor make (Intel, AMD).
The Head of Department, the professors and the Lab instructors are Teachers.
A Teacher is specified by his name, date of appointment (dd-MM-yyyy) and qualification.
Then I need to load a list of "Computer" each of laboratory from csv file.
How to start implementing this use case? Design help is highly appreciated.
I do not want code I am posting this for only suggestions and guideline to implement it using best possible way using OOP features.
final String[] alphabet = {"A","B","C","D","E","F","G","H","I","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"}; // all but and O
char index = (char)(Math.random() * alphabet.length + 'A');