Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

++i vs i++ java

int i = 3;
int a = i++; // a = 3, i = 4
int b = ++a; // b = 4, a = 4
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java
ADD COMMENT
Topic
Name
5+3 =