Question: , write a class BookTest that 1. Creates the two following books: a. Book 1: Title Java Programming I, a list of authors Basit Qurashi,

, write a class BookTest that 1. Creates the two following books: a. Book 1: Title Java Programming I, a list of authors Basit Qurashi, Omar Ghalem, and Price 150.00; b. Book 2: Title Java Programming II and a list of authors Anis Koubaa, Price: 120.00. 2. Create a Set of books called bookSet as TreeSet(); 3. Print the content of the bookSet using enhanced for statement; 4. Add the two books in the Tree Set; 5. Display the list authors of the two books.

programming language is java.

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!