How to create a String array?
I forgot the syntax and I cannot find it in the API.
Pls help.
I forgot the syntax and I cannot find it in the API.
Pls help.
Go on then, although really it would be quicker for you to google "java array"
String[] stringArray = new String[10];
You could also use this, in some circumstances
String[] stringArray = { "this, "is", "a", "string", "array" };
> > You can't be too sarcastic.
>
> Really? How incredibly interesting......
now that you mention it...
> > > You can't be too sarcastic.
> >
> > Really? How incredibly interesting......
>
> now that you mention it...
Don't be so racist :-)
I don't want play this word game. I take me toys and go home now. WHAAAAAAAAAAH!!!!!!! (There my yamm impersonation of the day) ;-)
> Go on then, although really it would be quicker for
> you to google "java array"
>
> > String[] stringArray = new String[10];
>
>
> You could also use this, in some circumstances
>
> > String[] stringArray = { "this, "is", "a", "string",
> "array" };
>
I just noticed, did you forget something on "this"? ;-)