我有任务在大学做自制剧领域的打板。每个领域都可以包含许多项目。我有一个数组ArrayList的像,使得它: List<String>[][] items = new ArrayList[x][y];
在Eclipse中一切正常,但是当我把它上传到UNI的网站它给了我一个错误,这是我在其他项目均获得与其他列表它。我在前面的程序代码是: List list = new ArrayList();
在我最近的课堂作业,我们一直与仿制药,我已经收到这样的警告: Note: Selector.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
据我所知,从没有指定对象的类型,这导致我的收藏。我目前正在使用int来进行测试,但该程序应该允许对任何类型对象进行排
这里是主程序 public class MainPerson {
public MainPerson(){}
public static void StartMainPerson()
{
int i = 1;
ArrayList<SortedPair> PersonList;
ArrayList<Person> InitializedPersonList;