Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java pre increment

//Preincrement
x = 0;
System.out.println(++x); // this prints 1 because increments before execute print 
 
PREVIOUS NEXT
Tagged: #java #pre #increment
ADD COMMENT
Topic
Name
7+9 =