scala tutorial

Scala Variables

In Scala, there are three ways you can define variables: val var lazy val Scala allows you to decide whether or not a variable is immutable (read-only) when you declare it.   val   An immutable variable is declared with the keyword val. This means that it is a variable that cannot be changed. A […]

scala tutorial

Scala Hello World program using Eclipse IDE

In this article, we will write a simple Hello World program in Scala using Eclipse IDE.   Refer following article, if you haven’t setup your Eclipse IDE for Scala development :   Scala IDE setup with Eclipse   Step 1 : Create new Scala project in Eclipse   From File menu, select New -> Scala […]

scala tutorial

Scala IDE setup with Eclipse

In this article, we will see how to configure Eclipse IDE for Scala. This tutorial is for people new to Scala.   Tools/Technologies used:   Eclipse Luna Scala IDE JDK 8 (you may use JDK 6 onwards)   Prerequisites   If you do not have JDK or Eclipse IDE installed, you can install it from […]