Question: JAVA OOP 2) Now create another class UapBazar and implement the main method. In main method do the following. a. Create an object of the
JAVA OOP 
2) Now create another class UapBazar and implement the main method. In main method do the following. a. Create an object of the Product class b. Display the price. C. Update the price by calling the updatePrice (...) method. d. Call the display() method. e. Call the getDiscountedPrice (...) and pass 20% as discount Percentage f. Print the discounted price
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
