Pre -Increment- und Post -Inkrements Java
int x =0;
// POST increments: increments after it prints x or stmt
System.out.println("Hello World"+ x++); // 0
System.out.println("Hello World"+ x); // 1
// PRE increments: increments before it prints x or stmt
System.out.println("Hello World"+ ++x); // 1
System.out.println("Hello World"+ x); // 1
Fancy Frog