Practice Problem
Take out a piece of paper, put your name on the top right of the paper.
Write a simple Java class representing a Book.
The class must have the following member variables:
The class must implement the Comparable<E> interface. Compare two books first by their titles then by their authors.
You can restart the timer by reloading the page.
Try to complete the problem in 25 minutes.
If you cannot complete the program in 25 minutes, you can watch me solve the problem in a text editor.