开发者

Java error code?

开发者 https://www.devze.com 2023-02-20 12:44 出处:网络
What do开发者_如何学运维es error: ArrayList cannot be resolved to a type mean in dr java?You probably need to add the line

What do开发者_如何学运维es error: ArrayList cannot be resolved to a type mean in dr java?


You probably need to add the line

import java.util.ArrayList;

To your source file. Post the code to be sure.


It usually means you have forgotten to import the class. Near the top of you java file, put

import java.util.ArrayList;

0

精彩评论

暂无评论...
验证码 换一张
取 消