His syntax is good, Eclipse is just saying that the variable is not used.

On Jan 25, 2009 1:52 PM, "Mark Murphy" <[email protected]> wrote:

joshspoon wrote: > I'm trying to create an array of string. It's not working
for me. I > wrote: Str...
Try:

String[] array = {"sunday", "good" };

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!

--~--~---------~--~----~------------~-------~--~----~ You received this
message because you are sub...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to