Analyze the following Java code for boolean logic:
boolean a = true, b = false; boolean result = a || b && a;
OR has higher precedence than AND
AND has higher precedence than OR
result is false
result is true