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