Which one is better Java coding style?
boolean status = true; if (!status) { //do sth } else { //do sth }
or:
This is more readable and good practice too.
if(!status){ //do sth }else{ //do sth }