My goal is to print a new string like
char[] result = someArray();
System.out.print(new string(result))
I am working with 2 dimentional array in my task char[][].
I would like to convert my char[][] array to char[]
How do I either print a single string directly from char[][] or easily convert it to char[]?
Arrays.toDeepString() does not work for me as it prints in the format [[a,b,c],[d,e,f]] and I am looking for an output that is abcdef.