Report question

Question: Why is declaration required in Java's try-with-resource