How to write Java variables in Java 11