I,m doing the e-book modern java from mr. Mc Cue and I don,t understand the boolean
assignment no. 1:
I solved it correctly, but it was a guess.
I noted it written out to understand it.
Did I interpreted it correctly or not?
public void main(){
boolean a = true;
boolean b = false;
boolean c = true;
boolean d = false;
boolean result = a || b && c || !d;
// true || false && true || NOT false = true
// true OR false AND true = false) OR true
// true OR false OR true = true??
IO.println(result); // true
}