// Example 3 // --------- // Construct and assign
//an array using a single command.
String[] ExampleArray3 = { "Sun Solaris" , "HP-UX" , "Linux" , "MS Windows" , "Macintosh" };
int[] array = null;
int[] arr = new int[] {1,2,3};
int[][] twoDimArray = { {1,2,3}, {4,5,6}, {7,8,9} };
int[][] myArray = new int[5][];