I trying to allocate 3 ArrayList
as follow -
ArrayList<Integer>[] m_locationArr = new ArrayList<Integer>[3]
and it prompts Cannot create a generic array of ArrayList<Integer>
What is wrong here ?
I trying to allocate 3 ArrayList
as follow -
ArrayList<Integer>[] m_locationArr = new ArrayList<Integer>[3]
and it prompts Cannot create a generic array of ArrayList<Integer>
What is wrong here ?