I am trying to do the following:
ArrayList<String>[] names = new ArrayList<>()[];
But NetBeans shows Illegal start of expression. Can it be solved without changing to String[][] or ArrayList<ArrayList<String>>
?
I am trying to do the following:
ArrayList<String>[] names = new ArrayList<>()[];
But NetBeans shows Illegal start of expression. Can it be solved without changing to String[][] or ArrayList<ArrayList<String>>
?