mardi 5 mai 2015

how i can make my variable equal any element of my Array?

i have string array country={"USA","ks a","UK","France"}; i have variable String z i want to say if(z.equal(any element of my array (USA or ks or France) but randomly if(z.equal country[i]){

Doing action any code

} can any body help me?




Aucun commentaire:

Enregistrer un commentaire