Question: Getter and setters methods for all the data members including getItemCat() method which returns Unknown Item Category, getItemName() method which returns the Unknown Item Name
Getter and setters methods for all the data members including getItemCat() method which returns "Unknown Item Category", getItemName() method which returns the "Unknown Item Name" and getItemDescription() which returns "Unknown Item Description". These methods will be overridden in later tasks of the assignment to set and display information related to specific items
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
