+ 1
Ive got a question for all u java gurus. What does x++ mean in java.pls leave a like:)
pls like
3 Answers
+ 2
Post increment. It means it will use the value of x, then x will be assigned the original value increased by 1.
+ 1
thx
0
x++ is shorthand of x=x+1 so it increases value of one. it is post increment operator. value will be increase by 1 after it is assigned