Advertisement
kuchuz

PBO-C 4 : Bid()

Nov 16th, 2020 (edited)
510
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1. public class Bid{
  2.     private final Person bidder;
  3.     private final long value;  
  4.  
  5.     public Bid(Person bidder, long value){
  6.         this.bidder = bidder;
  7.         this.value = value;
  8.     }
  9.  
  10.     public Person getBidder(){
  11.         return bidder;
  12.     }
  13.  
  14.     public long getValue(){
  15.         return value;
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement