Question
Also write a test program that creates at least 5 books (just create books directly in the program code, and not by reading from the user). Print all the books as they are recorded and then all (alphabetically) sorted by title. Read a new book from the user, and add it to the list if this book is not there already. Finally, print a list of all the books that have been published in a year is uploaded from the user.
Solution Preview
These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.
import static java.lang.System.*;import javax.swing.JOptionPane;
import javax.swing.JFrame;
public class test {
public static void main(String args[])...
By purchasing this solution you'll be able to access the following files:
Solution.java.