Does Eclipse show you that error? Or what compiler do you use? I do not get any error from a line like
static final String[] strSheikResp = new String[]{"test1", "test2"}; (assuming you do not mean the "...." literally) -- http://www.deepdroid.com On Apr 15, 2:15 am, "Kevin J. Brooks" <bear123434...@comcast.net> wrote: > This gives the following error "illegal modifier for strSheikResp" > > static final String[] strSheikResp = new String[]{....}; --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---