Java 22

Unamed Variables

try {
    final List<String> strings = List.of("1");
    strings.get(2);
} catch (Exception _) {
    System.out.println("ups");
}