Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图分配 3ArrayList如下-
ArrayList
ArrayList<Integer>[] m_locationArr = new ArrayList<Integer>[3]
它提示Cannot create a generic array of ArrayList<Integer>
Cannot create a generic array of ArrayList<Integer>
这里有什么问题?