String
and StringBuilder
, including text blocks.if/else
, switch
statements and expressions, loops, break
and continue
.Object
class.instanceof
, and pattern matching.try/catch/finally
, try-with-resources, and multi-catch blocks, including custom exceptions.List
, Set
, Map
, Deque
.Runnable
and Callable
.java.nio.file
API to work with Path
objects and file properties.@Override
, @FunctionalInterface
, @Deprecated
, @SuppressWarnings
, and @SafeVarargs
.