Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Index through 2d array

int[][]x;//define
for(int []y:x){
  for(int a:y){
    //do something with a
  }
}
 
PREVIOUS NEXT
Tagged: #Index #array
ADD COMMENT
Topic
Name
8+2 =