document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1.  
  2. /**
  3.  * Class untuk tawaran barang
  4.  *
  5.  * @author Mohammad Tauchid
  6.  * @version 0.1
  7.  */
  8. public class Bid {
  9.     private long value;
  10.     private Person bidder;
  11.    
  12.     // This is constructor.
  13.     public Bid (Person thisBidder, long val) {
  14.         bidder = thisBidder;
  15.         value = val;
  16.     }
  17.    
  18.     // Return the value on this bid.
  19.     public long getValue () {
  20.         return value;
  21.     }
  22.    
  23.     // To get information of bidder, use this method
  24.     public Person infoBidder () {
  25.         return bidder;
  26.     }
  27. }
  28.  
');