i can't find anywhere how to do methods with ? operator. only what i know:
boolean something = (!again) ? true : false;
this returns me true or false, but if i have if method with break ? like this:
if(!again){
break;
}
can i do that too with ? operator ? or do you know better way ? i have this method in while loop.
I dont know what to say more about that .. just that i canť find that. i was looking almost everywhere. Thank you
Thanx for reply <3
Aucun commentaire:
Enregistrer un commentaire