I'll give you the general idea of what I'm asking, it is similar for this: Detect which condition is false in multiple if statement.
Let's say that I have this if statement:
if (1 > 2 && 2 < 3 && "hello".equals("Hello"))
How do I check which condition was false, and which was true? Similar to e.printStackTrace();
Aucun commentaire:
Enregistrer un commentaire