Skip to content

Instantly share code, notes, and snippets.

@renanboni
Created June 18, 2019 16:36
Show Gist options
  • Save renanboni/93be87004788238dd01a4bd133d64702 to your computer and use it in GitHub Desktop.
Save renanboni/93be87004788238dd01a4bd133d64702 to your computer and use it in GitHub Desktop.
public void printArray(int array[][]) {
for (int i = 0; i < array.length; i++) {
for (int j = 0; j < array[i].length; j++) {
System.out.print(array[i][j] + " ");
}
System.out.println();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment