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
LVL 7
gudii9Asked:
Who is Participating?
 
CEHJCommented:
but i am seeing weird stuff like
 [Ljava.lang.String;@83cc67

Only if you attempt to somehow print the array without using deepToString
0
 
CEHJCommented:
:)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.