Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Main {
- public static void main(String [ ] args) {
- BookPage bp = new BookPage(1);
- Book b = new Book(10, bp);
- BookPage bp2 = new BookPage(2);
- BookPage bp3 = new BookPage(11);
- b.addPage(bp2);
- b.addPage(bp3);
- b.deletePage(bp3);
- b.changePage(bp2);
- b.changePages(1,2);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement