Computer Science, asked by tanyashah123, 9 months ago

1. Consider the following code -
if (x == 5)
System.out.println("Five");
else
System.out.println("Eight");
What will be the output of the above code, if
ta) x is 5
(b) x is 8​

Answers

Answered by zold
5

Answer:

5

Explanation:

the first statement Will be executed since the condition is true

Similar questions