I want to create a multidimensional array from existing array:
String arr1[] = new String[]{"1","2","3","4","5","6","7"};
String arr2[] = new String[]{"books","cars","mobile","tickets","flats","toys","chairs"};
String arr3[][] = new String[][]{ arr1, arr2};
The above code creates two rows and seven columns array. But I want to create an array with two columns and seven rows. Can anyone tell me how to create such array?