Report question

Question: Why it says that "Cannot refer to a non-final variable i inside an inner class defined in a different method"?