Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Author: Dermot Hegarty
- //You can use this, if you wish, to test parts 1 and 2.
- public class BookStoreTester
- {
- public static void main(String args[])
- {
- BookStore theBookShop = new BookStore();
- theBookShop.addBook(new Book("The Grapes of Wrath", "John Steinbeck", 8.99));
- theBookShop.addBook(new Book("The Corrections", "jonathan Franzen", 12.99));
- theBookShop.listAll();
- }
- }
Add Comment
Please, Sign In to add comment