No, you can't.

In Java we don't have switch with Strings.

Regards,

Felipe Silveira

On Thu, Sep 24, 2009 at 11:56 AM, Abhi <[email protected]> wrote:

>
> Can I do a switch(String), case (compare with other string) and how?
>
> I am trying to compare string results and perform actions...
>
> Thanks,
>
> Abhi
> >
>


-- 
Felipe Silveira
Engenharia da Computação
Universidade Federal de Itajubá
http://www.felipesilveira.com.br
MSN: [email protected]
Skype: fsunifei
-------------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to