Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

++i vs i++ java

int a = 0;
int b = a++; // b = 0; a = 1

a = 0;
b = ++a: // b = 1; a = 1
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java
ADD COMMENT
Topic
Name
4+5 =