Scala – First Program

Command Prompt

IDE

Print Hello World

HelloWorld

First Program

IstPrg

Output

HelloWorld-prog

Vikas Jindal

Advertisements

Scala – Scalable Language

Scala is a hybrid functional programming language.

Scala was created by Martin Odersky and first released in 2003.

In Scala, Everything is an object.It is a pure object oriented language.

Scala is also a functional language. Every function is a value and every value is an object. It provides facility to define anonymous functions. It allows nested functions.

Scala is statically typed language, no need to provide type information.

Scala is compiled into Java Byte Code which is executed by the Java Virtual Machine.

In Scala, developer can use all Java classes.

Scala – First Program

Vikas Jindal