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!

how to initialize a String Array

807591Jun 18 2004 — edited Apr 17 2008
Can anyone tell me how to initialize an empty String Array?
Is there some like String name = ""; for an empty STring Array.. i googled but didnt find anything.. All of them were initialized as
String[ ] nameArr = [2];
and so on..
Thank you
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 15 2008
Added on Jun 18 2004
20 comments
1,397 views