Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getting garbage value in an array string

807603Nov 29 2007 — edited Nov 29 2007
Hi
I initialize the string array
as String[] chk=null;

and in the jsps I set the value as 'null'

but when i debug I see some value in this array and it is not null the value is like [[Ljava.lang.String;@363549]
Is it due to not propoer initialization if the array

How to get rid of this
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2007
Added on Nov 29 2007
1 comment
202 views