1 does not come before 0 and 0 is an index, so 0 is the first index.
Maybe you weren’t meant to select the first index?
The main method is intended to look like:
public static void main(String[] args) {
ArrayList<Integer> weeklyTemperatures = new ArrayList<Integer>();
weeklyTemperatures.add(78);
weeklyTemperatures.add(67);
weeklyTemperatures.add(89);
weeklyTemperatures.add(94);
}
And the exercise asks to use get to obtain the lowest temperature which is 67 which is at index 1.
However, adding the numbers in a different order makes the checkpoint behave poorly, as it doesn’t actually check which is lowest and just assumes your code looks like above.