The + operator has a higher precedence than == but in the first line you are altering that with the ().
Go through the two expressions from left to right remembering the precedences. Also remember that in the first print you are not printing out a boolean. You are printing a String containing the words false and true.
And I think when Jeanne wrote before the == she might have meant after the ==.