Exercise 2: Create a Book class; where: Each book contains the following information: book title, book Author name, barcode (as long integers), and book topic. Implement an appropriate constructor(s)...

Java with screen shot
Exercise 2:<br>Create a Book class; where:<br>Each book contains the following information: book title, book Author name, barcode (as<br>long integers), and book topic.<br>Implement an appropriate constructor(s) and all necessary get/set methods.<br>Test Book class:<br>o Create different book objects (at least 5 books) and store them in a LinkedList sorted by<br>book barcode value. Generate a unique random integer value for the barcode.<br>Iterate through the LinkedList and print out the books' details<br>Create a second LinkedList object containing a copy of the above LinkedList, but in<br>reverse order.<br>o o<br>

Extracted text: Exercise 2: Create a Book class; where: Each book contains the following information: book title, book Author name, barcode (as long integers), and book topic. Implement an appropriate constructor(s) and all necessary get/set methods. Test Book class: o Create different book objects (at least 5 books) and store them in a LinkedList sorted by book barcode value. Generate a unique random integer value for the barcode. Iterate through the LinkedList and print out the books' details Create a second LinkedList object containing a copy of the above LinkedList, but in reverse order. o o

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here