Java and Scala