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