Now we can begin to see the power of objects. I could extend the program:
public class BookTracker {
public static void main(String[] args) {
Book firstBook = new Book("Horton Hears A Who!","Dr. Seuss","Random House");
Book secondBook = new Book("The Cat In The Hat","Dr. Seuss","Random House");
Book anotherBook = new Book("The Maltese Falcon","Dashiell Hammett","Orion");
firstBook.displayBookData();
anotherBook.displayBookData();
secondBook.displayBookData();
}
}
From writing one class definition we now have the ability to create as many Book objects as we please!

