Question: Java Programing (a) Write a class that manages the inventory of TVs: each account should have a manufacturer name, size of the TV, number of

Java Programing (a) Write a class that manages the inventory of TVs: each account should have a manufacturer name, size of the TV, number of TVs in stock, and the price of the TV. It should have constructor(s), getter and setter methods, toString method, a finalPrice() method, and an inventory() method. The finalPrice() method should accept a sales tax rate as a parameter and return the final price = price + tax. The inventory() method should receive the number of TVs bought and update the stock for that TV. (b) Write a driver to the class. It should read data from the keyboard and print before and after purchase information.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!