Question: with java 3. With Java: a)Create an interface named BookInt. Here define the methods ... getCategory0 and ... getName(). variables holding the named Book that

 with java 3. With Java: a)Create an interface named BookInt. Here

with java

3. With Java: a)Create an interface named BookInt. Here define the methods ... getCategory0 and ... getName(). variables holding the named Book that implements the BookInt interface. In this class: create two private variables and implement the getCategory of the joumal; create a constructor that passes values to these c) Create a class called as TestBook. Here, if the category entered by the user is different from the defined" should be displayed on ", "Sports", "CityBooks", the message "The category entered is not display the book features (category and name) on the sereen. Use the concept of ate a book instance and book object creation process. Use the appropriate methods of the Scanner copt of polymorphysm in the 4. What does the following program print? (15 p.)

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!