Multiple Choice
What will be displayed after the following code has been executed?
Int x = 65;
Int y = 55;
If (x >= y)
{
Int ans = x + y;
}
System.out.println(ans) ;
A) 10
B) 120
C) 100
D) The code contains an error and will not compile.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q8: What would be the value of discountRate
Q10: What would be the value of discountRate
Q11: What would be the value of x
Q14: Which of the following statements determines whether
Q15: A flag may have the values<br>A) defined
Q17: What will be the value of x
Q18: What will be the value of bonus
Q22: The boolean expression in an if statement
Q40: Java requires that the boolean expression being
Q48: If the expression on the left side