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
Math,
4 months ago
Math,
4 months ago
Political Science,
8 months ago
Math,
1 year ago
Biology,
1 year ago