GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — JavaTutorial/src/F007_MultiDimensionalArrays.java at master · windweb/JavaTutorial Expand file tree/ Copy pathF007_MultiDimensionalArrays.javaMore file actions 13 lines (12 loc) · 446 Bytes / Copy pathF007_MultiDimensionalArrays.javaFile metadata and controls13 lines (12 loc) · 446 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 import java.util.Arrays; public class F007_MultiDimensionalArrays { public static void main(String[] args) { int[][] numbers = new int[2][3]; numbers[0][0] = 1; System.out.println(Arrays.toString(numbers)); System.out.println(Arrays.deepToString(numbers)); // int[][][] arr = new int[2][3][5]; int[][] arr = {{1, 2, 3}, {4, 5, 6}}; System.out.println(Arrays.deepToString(arr)); } } |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |