What is Scala?

Scala is a programming language that was invented by computer scientist Martin Odersky in 2003. It is both an object-oriented and functional programming language that runs on JVM (Java Virtual Machine).

svg viewer

Features

  • Object-Oriented and Functional: Scala utilizes the power of object-oriented programming by having every value and variable saved as an object by default. Moreover, it supports a functional programming paradigm as well by having a light-weight syntax for function definitions along with support for higher-order functions and nested functions.
  • Interoperability with Java: Scala classes are ultimately JVM classes. You can create Java objects, call their methods, and transparently inherit Java classes in Scala. Similarly, Java code can reference Scala classes and objects.
  • Support for concurrency: Scala supports code concurrency and processing data on distributed systems with effective, asynchronous programming.
  • Clean and concise code: In comparison to Java, code written in Scala is extremely compact with concise syntax.
  • Scalable: Scala provides a unique combination of language mechanisms that make it easy to smoothly add new language constructs in the form of libraries.

Learn more about Scala from​ their official documentation.

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved