gudii9
asked on
deep to string issues
I am trying to read two dimentional string array as given in this link.
http://stackoverflow.com/questions/2397535/print-two-dimensional-array-of-strings-as-string
I supposed to get output like
String[][] aastr = {{"hello", "world"},{"Goodbye", "planet"}};
System.out.println(Arrays. deepToStri ng(aastr)) ; Gives
[[hello, world], [Goodbye, planet]]
but i am seeing weird stuff like
[Ljava.lang.String;@83cc67
How can I see the values properly.Any ideas, suggestions, sample code, links, source code highly appreciated. Thanks in advance
http://stackoverflow.com/questions/2397535/print-two-dimensional-array-of-strings-as-string
I supposed to get output like
String[][] aastr = {{"hello", "world"},{"Goodbye", "planet"}};
System.out.println(Arrays.
[[hello, world], [Goodbye, planet]]
but i am seeing weird stuff like
[Ljava.lang.String;@83cc67
How can I see the values properly.Any ideas, suggestions, sample code, links, source code highly appreciated. Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:)