Question: 1.Create a program that will apply the concept of classes and objects. Declare all instance/static variables, Mutators, Accessor and Custom methods in a class

1.Create a program that will apply the concept of classes and objects. Declare all instance/static variables, Mutators, Accessor and Custom methods in a class named "ProductInformation". Instantiate and call the methods of Productinformation class in another class named "ProductDisplay" to display the product information. Product Information: Code A001 Description Mouse Unit Price 100.00 A002 Monitor 2,500.00 A003 Keyboard 200.00 A004 Flash disk 300.00 A005 Hard disk 1,500.00 Sample output: RG COMPUTER SHOP Makati City PRODUCT INFORMATION Code Description Unit Price A001 Mouse 100.00 A002 Monitor 2,500.00 A003 Keyboard 200.00 A004 Flash disk 300.00 A005 Hard disk 1,500.00 2. Write a program that displays an invoice for several items. It should contain the item name, quantity, price, and total cost on each line for the quantity and item cost. Use two classes. The first class contains the item data and methods to get and set the item name, quantity, and price. The other class creates objects for the items and uses the objects to call the set and get methods.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
