lundi 22 décembre 2014

Short java if else if else statement

I have a if else short statement as follows:



(one == two) ? "do this" : "do this"


Is there anyway to add an if else into this statement?


I can't seem to find anything with an if else...


I'm being specific to the short statement, as opposed to do if if else else longhand.


Thanks.


Aucun commentaire:

Enregistrer un commentaire