Answers for "how many elements are in a 5x5 2d array"

1

Index through 2d array

int[][]x;//define
for(int i=0;i<x.length;i++){
  for(int j=0;j<x[i].length;j++){
    //dp something with x[i][j]
  }
}
Posted by: Guest on November-07-2020

Code answers related to "how many elements are in a 5x5 2d array"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language