Scala is a great language for writing highly expressive and concise code without sacrificing the power of static typing.
You can use Scala to build anything from small utility programs to entire enterprise applications. You can program in the familiar object-oriented style, and transition, when you like, to the functional style of programming. Scala does not force developers down a single path; you can start on familiar grounds and, as you get comfortable with the language, make use of features that can help you become more productive and your programs more efficient.
Let’s quickly explore some of the features of Scala, and then take a look at a practical example in Scala.