jeudi 28 janvier 2016

Which one is more efficient in terms of boolean in java?

Which one is more efficient in terms of boolean in java ?

Boolean boolean;
if(boolean == false) {}

OR

if(!boolean) {}

Aucun commentaire:

Enregistrer un commentaire