Scala Vector Vector is a general-purpose, immutable data structure. It provides random access of elements. It is good for large collection of…
Scala Tutorial
-
-
Scala Case Classes and Case Object Scala case classes are just regular classes which are immutable by default and decomposable through pattern…
-
Scala Inheritance Inheritance is an object oriented concept which is used to reusability of code. You can achieve inheritance by using extends…
-
Scala String Interpolation Starting in Scala 2.10.0, Scala offers a new mechanism to create strings from your data. It is called string…
-
Scala while loop In Scala, while loop is used to iterate code till the specified condition. It tests boolean expression and iterates…
-
Scala Collection Scala provides rich set of collection library. It contains classes and traits to collect data. These collections can be mutable…
-
Scala List List is used to store ordered elements. It extends LinearSeq trait. It is a class for immutable linked lists. This…
-
Scala String Methods Scala String equals() Method Example You can also use equal() method to compare two string objects. It returns true…
-
Simple Program of Scala In this tutorial, you will learn how to write scala programs. To write scala program you need to…
-
Scala Comments The scala comments are statements which are not executed by the compiler or interpreter. The comments can be used to…