Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Write a description of class Bid here.
- *
- * @author Ahmad Lamaul Farid
- * @version 28 Oktober 2020
- */
- public class Bid
- {
- private final Person bidder;
- private final long value;
- // konstruktor
- public Bid(Person bidder, long value)
- {
- this.bidder = bidder;
- this.value = value;
- }
- // untuk menampilkan nama sang penawar
- public Person getBidder()
- {
- return bidder;
- }
- // untuk menampilkan harga
- public long getBid()
- {
- return value;
- }
- }
Add Comment
Please, Sign In to add comment