I\'m new to Java.
String[][] data = new String[][]; data[0][0] = \"Hello\";
This does not work, so can anyone explain why and how to make it wo
While declaring Array, You need to give dimensions.
For example...
String[][] data=new String [rows][cloumns];
where rows and columns are integers.
for One dimension array
String[] data = new String[size];
PS.
This question may be helpful : Creating Two-Dimensional Array