document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. public class Book
  2. {
  3.     // instance variables - replace the example below with your own
  4.     private string author;
  5.     private string title;
  6.  
  7.     /**
  8.      * Constructor for objects of class Book
  9.      */
  10.     public Book()
  11.     {
  12.         // initialise instance variables
  13.         author = bookAuthor;
  14.         title = bookTitle;
  15.     }
  16.  
  17.     /**
  18.      * An example of a method - replace this comment with your own
  19.      *
  20.      * @param  y  a sample parameter for a method
  21.      * @return    the sum of x and y
  22.      */
  23.     public string getAuthor()
  24.     {
  25.         // put your code here
  26.         return author;
  27.     }
  28.     public string getWriter()
  29.     {
  30.         return title;
  31. }
  32. }
');