Switch case on String

by Abhi » Thu, 24 Sep 2009 22:57:18 GMT


Sponsored Links
 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
--~--~---------~--~----~------------~-------~--~----~



Switch case on String

by Felipe Silveira » Fri, 25 Sep 2009 00:50:59 GMT


 No, you can't.

In Java we don't have switch with Strings.

Regards,

Felipe Silveira






-- 
Felipe Silveira
Engenharia da Computao
Universidade Federal de Itajub
 http://www.felipesilveira.com.br 
MSN: felipeuni...@hotmail.com
Skype: fsunifei
-------------------------------------------------

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Switch case on String

by Abhi » Fri, 25 Sep 2009 01:07:52 GMT


 Ok. Thanks Felipe. I just figured that out.

Regards,

Abhi




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. what is the difference between progressdialog and progressbar?

hi,

can anyone tell me what is the difference between progreessbar  and
progressdialog?

In which circumstances we suppose to use progressbar and
progressdialog?

i want to make on progressdialog in which i want to set one image in
background and spinner.how can i do it?

please provide me an example for it?

regards,
hitendrasinh gohil

-- 

2. hapus file bawaan sprint evo 4G

suhu2 semua, kalo ngapus file2 aplikasi bawaan sprint di evo 4G gimana ya?

-- 
"

3. Salam Nubie

4. OOT : Ditemukan dompet

5. [WTS] Android, BB dan GSM/CDMA Phone

6. WTTrade: droid2 dgn droidX

7. [WTS] Galaxy Ace | Nokia 6120c | ZTE GC990