This is my attempt at the class bt i am already having some problems if u can please help.
public class Group
{
private String groupName;
private Team[]name;
private int count;
public Group()
{
}
public Group (String theGroupName,int [ ] name, int count)
{
groupName = theGroupName;
name = new Team[4] ;
count = 0;
}
public String getGroupname()
{
return groupName;
}
public int getTeamsize()
{
return name.length;
}
public void setGroupname()
{
groupName = thegroupName;
}
public void teamAdd(Team name)
{
boolean teamAdded = false;
for (int count=0; count <4; count ++)
{
return name;
}
}
}