Question 4. What will be the output
of the following Java program?*
class selection statements
2.
3.
4.
5.
7.
public static void main(String args)
1
int vari - 5
int var2 = 5;
if (var2 = 1) z varl)
System.out.print(var2):
else
System.out.print(++var2);
>
8.
9.
10.
11.
12.
)
O a) 1
Ob) 2
O c)3
O d) 4
Answers
Answered by
0
Answer:
uffff ghum o to the wreath was not a problem
Similar questions
Science,
1 month ago
English,
1 month ago
Computer Science,
1 month ago
Math,
2 months ago
Social Sciences,
10 months ago
Math,
10 months ago
Geography,
10 months ago