Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

Identify employee service benefits.

Answered: 1 week ago