Computer Science, asked by Anonymous, 5 months ago

Predict the output:
int x=25.y=30:
if (x> 15)
ifty> 15)
System.out.println("y is+y);
else
System.out.println("x is +x);​

Answers

Answered by arvindanamika8
1

Answer:

y is 30

since the first condition has no system.out.prinln so it will see second condition

Similar questions