Replace Array with Object

You have an array in which certain elements mean different things.

Replace the array with an object that has a field for each element.

String[] row = new String[3];
row [0] = "Liverpool";
row [1] = "15";

image/svg+xml

Performance row = new Performance();
row.setName("Liverpool");
row.setWins("15");