Java 1 class