Scala Classes & Constructors

Hi Friends,
In this post of The Online Scala Tutorial Series we will be talking about Scala Classes and Scala constructors. We will see the way we can create Scala class instance and the way to define the constructors. The Scala constructor has some interesting properties that might seem little strange for a regular Java programmer. Scala constructors come in two different flavors : Primary Constructors and Auxiliary Constructors. Let's have a look at them here.

Introduction to Scala Functions

Hello Readers,
Welcome to the second part of Scala Language Online Tutorials Series. Last post, we gone through basic introduction to Scala  language. In this post we are going to look at few more interesting features of Scala Language. We will start with Scala Functions and have to look at how do we write and call Functions in Scala. In the last post we have seen how can we declare a variable or a value. Function declaration in Scala is very much similar to variables.