import static java.lang.System.out;
import java.util.Scanner;
class team{
private String sport;
private String city;
private String name;
private String stadium;
private String year;
private String player;
public void setsport (String sportIn) {
out.print("What sport does the team play: ");
sportIn = sport;
}
public void setcity (String cityIn) {
out.print("What city does the team play in: ");
cityIn = city;
}
public void setname (String nameIn) {
out.print("What's your teams name: ");
nameIn = name;
}
public void setstadium (String stadiumIn) {
out.print("What's" + name + "Stadium");
stadiumIn = stadium;
}
public void setyear (String yearIn) {
out.print("What year was" + name + "established: ");
yearIn = year;
}
public void setplayer (String playerIn) {
out.print("Who's" + name + "best player: ");
playerIn = player;
}
private String info = (name + "play" + sport + "in" + city + "." + name + "were founded in" + year + "." + name + "best playert is" + player + ".");
public String getinfo () {
return info;
}
}