How to write a Java Program in Java 11