Question from the Java test

Create an immutable list in Java 11