Mid-Level
November 18, 2026

Spot the bug: Spring Boot

One snippet. Find the bug, or prove there isn't one.

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}

Click the lines that carry the problem.

Your verdict

One attempt per day. The answer shows up right after.

Keep your streak

Create an account to keep your streak and track your progress.

Create an account