Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static List<Book> library = new ArrayList<>();
- static {
- library.add(new Book("0261102303", "Lord of the Rings"));
- library.add(new Book("0007441428", "Game of Thrones"));
- library.add(new Book("0747581088", "Harry Potter and the Half-Blood Prince"));
- library.add(new Book("1401248195", "Watchmen"));
- library.add(new Book("030788743X", "Ready player one"));
- library.add(new Book("843760494X", "Cien Años de Soledad"));
- library.add(new Book("0553804367", "A Briefer History of Time"));
- }
Advertisement
Advertisement