Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to make 2d array of strings in java

String[][] twoDArray = new String[x][y] 
//you must specify all but the last dimension when you declare it but
//WARNING:in order for this to be useful the demensions need to be 
//completely specified 
//OR you can use an array list
 
PREVIOUS NEXT
Tagged: #array #strings #java
ADD COMMENT
Topic
Name
3+2 =