Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
If the unary operators '++' or '- -' is placed after the variable it's called postfix. The operation of unary operator done and value update in variable but the variable behave like previous.
For example:
i=6;
System.out.println(i++);// output is 6.
//but i=7.
//if you use it next time the output will be 7.