Skip to content

Instantly share code, notes, and snippets.

@jesjos
Created September 16, 2010 13:18
Show Gist options
  • Save jesjos/582405 to your computer and use it in GitHub Desktop.
Save jesjos/582405 to your computer and use it in GitHub Desktop.
import java.util.ArrayList;
class Run {
public static void main (String[] args) {
FotbollsLag team1 = new FotbollsLag("BK Hejsan");
FotbollsLag team2 = new FotbollsLag("BK Nej");
FotbollsLag team3 = new FotbollsLag("BKKK");
ArrayList<FotbollsLag> list = new ArrayList<FotbollsLag>();
list.add(team1);
list.add(team2);
list.add(team3);
FotbollsSerie allsvenskan = new FotbollsSerie("allsvenskan", list);
allsvenskan.readResult();
allsvenskan.readResult();
System.out.println(allsvenskan.toString());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment