![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Like I said, when I print b, I get some gobbledygook which shouldn't happen.
the value that is printed to the console is similar to this: [Ljava.lang.String;@136228 . And this is entirely appropriate. This indicates that the value being printed is a one-dimensional String array at a particular memory address.If you want to print out the values in an array, you must iterate:
Replies: |
Sponsored Links
|