mardi 18 avril 2017

How would I include multiple criteria in an if statement?

I want to have multiple options inside an if statement such as if (Option1.equalsIgnoreCase("x" && "y")). But when I actually try to write the above said code, it wont work. My objective is for the if statement to work if one out of 2 or 3 criteria are met.

Aucun commentaire:

Enregistrer un commentaire