Computer Science, asked by rachanakkadur, 2 months ago

public static void main (string []args) {
int =15;
System.out.println(i++) ;
System.out.println (i--);
}​

Answers

Answered by debasish2cse
0

Answer:

15

16

Explanation:

I++ is postincrement so value will directly assigned that is 15.

after that I value will be 16

i-- is post decrement so the value remain same that is 16

Similar questions