Orta seviye
18 Kasım 2026

Hatayı bul: Spring Boot

Tek bir kod parçası. Hatayı bul ya da hata olmadığını kanıtla.

java
1public Properties loadConfig(Path path) {
2    Properties props = new Properties();
3    try (InputStream is = Files.newInputStream(path)) {
4        props.load(is);
5    } catch (IOException e) {
6    }
7    return props;
8}

Soruna yol açan satırlara tıkla.

Kararın

Günde bir deneme. Cevap hemen ardından görünür.

Serini koru

Serini korumak ve ilerlemeni takip etmek için hesap oluştur.

Hesap oluştur