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

JavaExercise 2:<br>Create a Book class; where:<br>o Each book contains the following information: book title, book Author name, barcode (as<br>long integers), and book topic.<br>o Implement an appropriate constructor(s) and all necessary get/set methods.<br>Test Book class:<br>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>eek12_Generic..pptx<br>20<br>

Extracted text: Exercise 2: Create a Book class; where: o Each book contains the following information: book title, book Author name, barcode (as long integers), and book topic. o Implement an appropriate constructor(s) and all necessary get/set methods. Test Book class: 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. eek12_Generic..pptx 20

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here