Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Project Scenario OraclProduction OraclProduction Ltd are specialists in producing production line manufacturing plants They could be asked to create a production plant for any type
Project Scenario OraclProduction OraclProduction Ltd are specialists in producing production line manufacturing plants They could be asked to create a production plant for any type of product ranging from a simple packaging system to a variety of electronic devices. Recently they have been asked to create a production line for multimedia devices which include music and movie players. They wish to employee you to design a template in Java for creating and recording all future production line items. For this particular production facility you will only implement a concrete class for music and movie players. Your task is to create a flexible structure that could be used in any production line. This structure would then allow easy modification to handle different products. Step 1 Create an interface called Item that will force all classes to implement the following functions. A constant called manufacturer that would be set to "OracleProduction". A method setProductionNumber that would have one integer parameter A method setName that would have one String parameter A method getName that would return a String A method getManufactureDate that would return a Date A method getSerialNumber that would return a int Step 2 All items will have a pre-set type. Currently there are 4 types. Create an enum called ItemType that will store the following information Type Code Audio AU Visual VI Audio Mobile AM Visual Mobile VM Step 3
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started