Computer Science, asked by rajputanakshgmailcom, 5 hours ago

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 jatinsingh899gamilco
0

Answer:

uffff ghum o to the wreath was not a problem

Similar questions