homework two submission

Why don't we need it in Java?