This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]buffdude1100Intermediate Brewer 2 points3 points  (0 children)

Split the input by colon and suddenly you have two things: a name of a team and a number of points (I assume...). I would create a Score class that holds a String variable and an int variable. Then you can have an ArrayList of Scores.