Question: 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 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
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... View full answer
Get step-by-step solutions from verified subject matter experts
