One (and it may be the only one, but I'm not sure) problem is you're trying to instantiate an interface(List). You should have an ArrayList or LinkedList (or another class that implements List) on the right side of the expression.
Hope that helps!
When you do things right, people won't be sure you've done anything at all.
albert kao wrote:List<ArrayList<String>> l = new List<new ArrayList<String>()>();
Don't put garbage characters into your type names, the compiler is saying. Try this instead:
What that line of code creates is an ArrayList into which you can store ArrayList<String> objects. You aren't creating any ArrayList<String> objects yet so you don't need a constructor which tries to do that.