Skip to main content
  • 3587 Accesses

Abstract

In this chapter we will look at the interoperation of Java and Scala. Both Java and Scala are JVM Byte Code Languages. That is, they both compile to the byte code language that is understood by the JVM. The Byte Code language of the JVM was originally designed to be the compiled form of Java and was what the Java Virtual Machine executed. However, things have evolved such that today the JVM is a virtual environment for executing Byte Code languages. In fact there are now several languages that can be compiled to JVM Byte Codes including Java, Groovy, Clojure, Jruby, Jython, JavaScript, Ada, Pascal as well as Scala.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to John Hunt .

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Hunt, J. (2014). Scala & Java Interoperability. In: A Beginner's Guide to Scala, Object Orientation and Functional Programming. Springer, Cham. https://doi.org/10.1007/978-3-319-06776-6_43

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-06776-6_43

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-06775-9

  • Online ISBN: 978-3-319-06776-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics