Professional Documents
Culture Documents
Asignment
Asignment
Assignment Descriptions:
Create a Java Console application bases on Java Classes/Objects, OOP, Exception Handing,
IO, Java Collections to manage Device (Device Management)
Refer to the class hierarchy which is described below, trainees need to create Java classes in
order to implement the entities.
Functional Requirements:
Function 1: Create device (2 marks)
• Require to input a user information include id, name, ram, cpu, hdd, weight and color.
• Check the valid data with the following conditions:
• id is not allowed to duplicate.
• name s not empty and must be at least five characters.
• ram is an integer number and ranges from 2 to 128
• cpu is number and ranges from 1 to 10
• hdd is an integer number and ranges from 128
• weight is number and ranges from 0.5 to 8
• color is not empty and is a valid color representation as red, white, blue, gray
2/3
User Interface Requirements:
Menu
Guildelines:
-- THE END --
3/3