+ 1
What is Difference between i++ and ++i in java???
i++ and ++i impact on the program flow
3 Answers
+ 3
i++ --> it means excute and then increment
++i --> it means increment and then excute
Ex;
class OperatorINC { public static void main(String[]
args){
int i=5;
int j =5
System.out.println(i++); // i =5
System.out.println(i); // i=6
System.out.println(++j); //j=6
} }
+ 2
thanks buddy Hussein saad
+ 1
come on