Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package siteParis;
- public class Bet {
- private int amount;
- private Competitor competitor;
- private Player player
- public Bet(int amount, Competitor competitor, Player player){
- this.amount = amount;
- this.competitor = competitor;
- this.player = player;
- }
- public String getAmount(){
- return this.amount;
- }
- public String getCompetitor(){
- return this.competitor;
- }
- public String getPlayer(){
- return this.player;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement