HI,
In following code, Why does't value of i get incremented :
_______________________________________________
public static void main(
String args[])
{
int i=9;
i=i++;
System.out.println(i);
}
}
_______________________________________________
output is : 9
Where as it should be 10.
-Thanks-