mercredi 7 janvier 2015

quick one about if statements

Just Yes or No would be enough. is this-



if(condition1) {
if (condition2) {
//something...
}
}


same as this-



if(condition1 && condition2) {
//something...
}


asking for Java, is it possible that this logic is different for different languages?


Aucun commentaire:

Enregistrer un commentaire