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
1
Answer:
y is 30
since the first condition has no system.out.prinln so it will see second condition
Similar questions
Chemistry,
3 months ago
English,
3 months ago
Social Sciences,
3 months ago
Political Science,
7 months ago
Chemistry,
11 months ago
Math,
11 months ago
Biology,
11 months ago