vendredi 30 janvier 2015

Java - If statement without block execute action for true or false

How can i do that for example a if statement check if it is true or false and then execute action depends of the output?



if (check true or false) if false do action : if true do action


Something like that do it all in the same line without blocks, it that possible ?


Sorry for my bad English Thanks.


Aucun commentaire:

Enregistrer un commentaire