Java convert 2 dimensional String array to String -


After

I change a 2-dimensional string array. Then to copy the 2-dimensional string array, try another 2-dimensional String in the string string, print the string after that but what the string does not believe ... I am trying to do this without using the Java library. Public class train {// public static void {String [] args) {String [] [] FF = {{"0", "1" , "3", "4", "5", "3", "4", "5", "6", "7"}, {"0", "1", "2" , "6", "7"}, {"0", "1", "2", "3", "4", "5", "6", "7"}, {"0", " 1 "," 2 "," 3 "," 4 "," 3 "," 4 "," 5 "," 6 "," 7 "}," 5 "," 6 "," 7 "}, {" 0 "," 1 "," 2 "," 3 "," 4 "," 5 "," 6 "," 7 "}, {" 0 " , "2", "3", "4", "3", "4", "5", "6", "7"}, "1", "2" , "5", "6", "7"}}; String [] [] ip = new string [8] [8]; Int x = 0, y = 0; (Int i = 1; i & lt; 8; i + = 2) for {for (int j = 7; j & gt; = 0; j -) {y = 0; IP [x] [y] = FF [j] [i]; System.out.print (ip [x] [y]); Y ++; } If (I == 7) {i = -2; X ++; }} String zz = ""; For (int p = 0; p & lt; 8; p ++) {for (q q = 0; q & lt; 8; q ++) {zz + = ip [p] [q]; System.out.print (ZZ); }}}}

thanks

Use this: < Code> String yourString = Arrays.toString (yourArray);


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -