Chapter 2 -- To Do List -- import java.util.ArrayList?
Seems like I had to add import java.util.ArrayList; at the top of the ToDoList.java file because when I tried to run this it gave me an error, and Eclipse suggested importing this because of the use of new ArrayList<String>().
I checked the sample code from this site and it uses this import.
My question is, was that supposed to have been added automatically by Eclipse? If so, when the project was created, or when I typed in that line?
or, should this have been included in as a step in building out this example?
thanks
|