CodeGym/Hilfe mit Java-Aufgaben/Qustion about the proposed correct solutionSakka MouidLevel 19Hannover05.06.2022289Aufrufe1KommentarQustion about the proposed correct solution Frage zur Aufgabe DownloadException Java Core, Level 8, Lektion 5 In der Diskussion CodeGym didn't close the stream in their proposed correct Solution , although it was asked by the tast . Did that try-block replace that ? 0 Kommentare (1)BeliebtNeuAlt Du musst angemeldet sein, um einen Kommentar schreiben zu können Lisa L Level 47 , Nuremberg, Germany5 Juni 2022, 19:25nützlichif they used try-with-resources then this will auto close the resource... otherwise you should post code +1