study scala/java