[SOLVED] SOLVED:Create a class named LibraryBook

20.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

Create a class named LibraryBook that contains fields to hold methods for setting and getting a LibraryBook’s title, author, and pageCount. Save the class as LibraryBook.java.Write an application that instantiates five LibraryBook objects and fills in values for the data fields, in non-sorted order. Then continuously prompt the user to enter which field the LibraryBooks should be sorted by – title, author, or pageCount. Perform the requested sort procedure and display the LibraryBook objects. Continuously prompt the user until they indicate they are done sorting. Save the class as LibraryBookSort.java. Use Substantial Comments.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.