Computer Science, asked by tetrakujur1048, 5 months ago

Give the output of the following
int a= 5;
a++;
System.out.println(a),
a- (a - -) (-a);
System.out.println(a);​

Answers

Answered by shalinipriya1011
2

Answer:

6

30

Explanation:

a++=6

a-(a--) (-a) =6-(6)(-4)=6+24=30

Similar questions