String tiger = "Tiger";
String lion = "Lion";
final String statement = 250 > 338 ? lion : tiger = " is Bigger";
System.out.println(statement);
F.The code does not compile; because the assignment operator has the highest order of precedence in this expression.
It should be "ternary operator has the highest order of precedence in this expression". instead of "assignment operator has the highest order of precedence in this expression".
by alinvlad05