Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

can strings be used in a 2 dimensional array in java

String myTwoDimensionalStringArray[][] = new String[2][2];
myTwoDimensionalStringArray[0][0] = "Apple";
myTwoDimensionalStringArray[0][1] = "Banana";
myTwoDimensionalStringArray[1][0] = "Pork";
myTwoDimensionalStringArray[1][1] = "Beef";
Source by grails.asia #
 
PREVIOUS NEXT
Tagged: #strings #dimensional #array #java
ADD COMMENT
Topic
Name
8+8 =