Because x++ is post incrementing the variable 'x'. ie The current value in 'x' (100) is taken as the return value and then 'x' is incremented. But before the method returns the finally clause is executed which prints out the new current value of 'x' (101).