Why Scala

Scala is a functional and also object oriented programming language

In Scala everything is an object.

Scala programs run on JVM and Scala helps us to ease our job. For example, we have a list of collections and if we want to process those, then in Java, we have to write a lot of code to do this. But using Scala this can be done with few lines. But this got resolved in Java 8 using Lambda expressions.

Scala is used widely in the Big data

Scala’s trait is similar like an interface in Java. But Trait contains abstract and normal methods. Java borrowed this feature from Scala and the Java 8 interface contains default methods

Please refer the Git Hub repository for some of the scala programs

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s