Question: Using JAVA programming This program creates a completely new class for a publisher that make textbooks The data attributes for the class will be Title,

Using JAVA programming  Using JAVA programming This program creates a completely new class for

This program creates a completely new class for a publisher that make textbooks The data attributes for the class will be Title, Author, Price (as a double to hold the dollars and cents.) Have the constructor that takes all three attributes. Make sure to do the gets and sets for all three attributes. Create 2 additional methods in the Textbook class, one that gives a message with the Title Author and Price to the user, and a second one that tells that it's an online book gives a message with the Title Author and online price (75% of the price) to the user. Create a java application that instantiates at least one object of the Textbook class you created and test its two methods

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!