Reputation: 11
What does error: ArrayList cannot be resolved to a type
mean in dr java?
Upvotes: 1
Views: 810
Reputation: 229088
It usually means you have forgotten to import the class. Near the top of you java file, put
import java.util.ArrayList;
Upvotes: 1
Reputation: 44706
You probably need to add the line
import java.util.ArrayList;
To your source file. Post the code to be sure.
Upvotes: 8