1.

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

Answer»

Answer:

6

30

Explanation:

a++=6

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



Discussion

No Comment Found