15
dbonev
8y

if (condition){
return true;
} else {
return false;
}

Comments
  • 3
    See I've even seen like..

    Boolean outcome = // something

    If(outcome)
    Return true;

    Return false;

    Or my favourite..

    Return outcome == true ? True : false;
  • 1
    Or you know, just return outcome
  • 5
    There were people that has been killed for less...
Add Comment