Advertisement
Guest User

class bet

a guest
Mar 28th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.44 KB | None | 0 0
  1. package siteParis;
  2.  
  3.  
  4. public class Bet {
  5.  
  6. private int amount;
  7. private Competitor competitor;
  8. private Player player
  9.  
  10. public Bet(int amount, Competitor competitor, Player player){
  11.    this.amount = amount;
  12.    this.competitor = competitor;
  13.    this.player = player;
  14. }
  15.  
  16. public String getAmount(){
  17.    return this.amount;
  18. }
  19.  
  20. public String getCompetitor(){
  21.    return this.competitor;
  22. }
  23.  
  24. public String getPlayer(){
  25.    return this.player;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement