36 lines
541 B
Java
Executable File
36 lines
541 B
Java
Executable File
package tennisOrder;
|
|
|
|
public class Match
|
|
{
|
|
private String court;
|
|
private String team1;
|
|
private String team2;
|
|
private String semaine;
|
|
|
|
public Match (String court,String team1,String team2,String semaine)
|
|
{
|
|
this.court=court;
|
|
this.team1=team1;
|
|
this.team2=team2;
|
|
this.semaine=semaine;
|
|
|
|
}
|
|
|
|
public String getCourt ()
|
|
{
|
|
return court;
|
|
}
|
|
public String getTeam1 ()
|
|
{
|
|
return team1;
|
|
}
|
|
public String getTeam2 ()
|
|
{
|
|
return team2;
|
|
}
|
|
public String getSemaine ()
|
|
{
|
|
return semaine;
|
|
}
|
|
}
|