My Java Quiz

The ultimate place to learn Java!

Question #30: Is the following a valid expression in Java 1.8?

java.util.function.Supplier<Double> supplier = () -> 0.0;