Report question

Question: Why is declaration of the variable required inside a for-each loop in java