int[] numbers = { 1, 2, 3 };int length = numbers.length;//length is 3System.out.println("length is " + length);