Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CIS640 Lab 1 First Java Program This lab is designed to get your feet wet with a simple Java program. It is a simple standalone

image text in transcribed
CIS640 Lab 1 First Java Program This lab is designed to get your feet wet with a simple Java program. It is a simple standalone program with some of the classes necessary for an Order System. The requirements are as follows: 1. Create a Customer class with the attributes: customer ID, name, and phone number. Add all of the get and set methods for the attributes 2. Create an Order class with the attributes: order number, customer ID, and date. Add the get and set methods for each attribute. 3. Create an OrderItem class with the attributes: order number, line number, product id, product description, quantity, and price. Add get and set methods. 4. Create an Inventory class with the attributes: product id, description, price, and quantity on hand. Add the get and set methods. 5. Create a Data Access class for each of the business layer classes. These classes will be used to maintain an ArrayList of objects that simulates a database. Add the methods necessary for adding and retrieving objects. 6. Create an initialize method in the Customer and Inventory Data Access classes that will instantiate the objects of that class. 7. Instantiate at least three customers and three inventory items. 8. Create an OrderSystem class that will contain the main method. This class will be used to test the other classes. It should call the initialize method in the Customer and Inventory classes. Add at least one order per customer. Each order should have at least two items. Using console output, write out a list of customers with the orders for each customer. 9. Display all Items, Customers, Orders, and Order Items. When completed, place the project file into a zip file and submit it to Canvas This lab is worth 50 points

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

Students also viewed these Databases questions

Question

Question Can life insurance be used in a Keogh (HR 10) plan?

Answered: 1 week ago