SHARE
TWEET

Untitled

a guest Apr 25th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Main {
  2.   public static void main(String [ ] args) {
  3.       BookPage bp = new BookPage(1);
  4.       Book b = new Book(10, bp);
  5.       BookPage bp2 = new BookPage(2);
  6.       BookPage bp3 = new BookPage(11);
  7.       b.addPage(bp2);
  8.       b.addPage(bp3);
  9.       b.deletePage(bp3);
  10.       b.changePage(bp2);
  11.       b.changePages(1,2);
  12.   }
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top