dsArrayList3/13

One exercise
https://www.codecademy.com/courses/learn-java/lessons/data-structures/exercises/arraylist?action=lesson_resume&link_content_target=interstitial_lesson
My code looks right and I’ve looked at other examples but I still can’t figure out why it’s wrong, please help me.
https://gyazo.com/f81990012b17a39a77bc7ce9b3f116b2

import java.util.ArrayList;

public class Temperatures {
	
	public static void main(String[] args) {

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

	}
}

Error: Temperatures.java:7: error: cannot find symbol
ArrayList weeklyTemperatures = new ArrayList();
^
symbol: class Interger
location: class Temperatures
Temperatures.java:7: error: cannot find symbol
ArrayList weeklyTemperatures = new ArrayList();
^
symbol: class interger
location: class Temperatures
2 errors

There is only one r in integer.

1 Like

wow, the trials you face when coding at 6 am.

2 Likes

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