So I know this is a really basic question but... I couldn't find an answer anywhere online. I'm trying to initialize a List with the following line of code:

List<String> messages = ArrayList();

JCreator gives me an error in trying to compile it saying it can't find the symbol "List". What am I doing wrong? Sorry, I haven't used lists in ages. Is there something I need to import for it to work?