Exercise 3 - ArrayList - Code Doesn't Execute

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>
The ArrayList exercise (https://www.codecademy.com/courses/learn-java/lessons/data-structures/exercises/arraylist?action=lesson_resume) doesn’t execute the code and as soon as I hit “Run”, the compilation begins and continues forever. No error messages displayed.
I am unable to understand, what I am doing wrong.

```

import java.util.ArrayList;

public class Temperatures {

public static void main(String[] args) {

ArrayList<Integer> weeklyTemperatures = new ArrayList<Integer>(); 



}

}

<do not remove the three backticks above>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.