Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

you will be provided with the skeleton project which you will develop into a simple Inventory Management System. The classes and methods in the

you will be provided with the skeleton project which you will develop into a simple Inventory Management itemId: String itemName: String -availableQuantity: int -price: double Item +Item(String itemId, String Question 2: Briefly explain what concepts of OOPS did you learn by implementing the above code. It could be

you will be provided with the skeleton project which you will develop into a simple Inventory Management System. The classes and methods in the classes are created for you. You are required to make changes to the implemented methods to make it work as expected. You are provided with 2 classes and an interface. 1. Item - This class must be implemented based on the class diagram below. You are required to create the necessary attributes, getters and setters for the attribute and appropriate constructors. 2. InventoryManagementInterface - This interface needs no change. It contains 5 methods which will be implemented by the InventoryManagement System class. The details about implementing the methods are provided above each method in the interface. 3. InventoryManagement System - Should implement the InventoryManagementinterface and override all the methods defined in the interface following the instructions given above for each of the methods. itemId: String itemName: String -availableQuantity: int -price: double Item +Item(String itemId, String itemName, int availableQuantity, double price) getters and setters for each of the attribute above - items: Items[] -itemCount: int = 0 < > InventoryManagementInterface addItemQuantity(String itemId, int quantity): Item addItem(String itemId, String itemName, int quantity, double price): Item + reduceltemQuantity(String itemid, int quantity): boolean +lookupitem(String itemId): Item + listItems(): Items[] Inventory Management System + addItemQuantity (String itemid, int quantity): Item + additem(String itemid, String itemName, int quantity, double price): Item + reduceItemQuantity(String itemId, int quantity): boolean + lookupitem(String itemId): Item listitems(): Items[] Question 2: Briefly explain what concepts of OOPS did you learn by implementing the above code. It could be multiple features of Object-Oriented Programming. Just write the feature name and where in the above code have you used it.

Step by Step Solution

3.44 Rating (157 Votes )

There are 3 Steps involved in it

Step: 1

Solutions Step 1 Step1 Understand the Given Problem Statment and then DO the Coding Itemjava package comchegg public class Item private String itemId private String itemName private int availableQuant... 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_2

Step: 3

blur-text-image_3

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

Auditing A Practical Approach with Data Analytics

Authors: Raymond N. Johnson, Laura Davis Wiley, Robyn Moroney, Fiona Campbell, Jane Hamilton

1st edition

1119401747, 978-1119401742

More Books

Students also viewed these Programming questions