Link to home
Start Free TrialLog in
Avatar of gudii9
gudii9Flag for United States of America

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.deepToString(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
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
:)