In the following statement we must understand that we need to print current
value of a and then increment.
System.out.println("a++="+ a++);
In the following statement we must understand that we will increment a before
printing it.
System.out.println("++a="+ ++a);