Scala can call any Java code, subclass any Java class, and implement any Java interface. Java code can call into Scala code if the Scala code subclasses a Java class or implements a Java interface. Scala code, under the hood, reuses Java libraries and Java types. Scala allows you to add value to existing Java code because Scala was designed for seamless interoperability with Java and because ultimately Scala programs compile to JVM bytecode.
at the end taking th ehelp of JVM
Share this highlighthttp://www.safaribooksonline.com/a/beginning-scala-second/467915/