Scala Collection Scala provides rich set of collection library. It contains classes and traits to collect data. These collections can be mutable…
datatype
-
-
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 Comments The scala comments are statements which are not executed by the compiler or interpreter. The comments can be used to…
-
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 Conditional Expressions Scala provides if statement to test the conditional expressions. It tests boolean conditional expression which can be either true…
-
Scala ListMap This class implements immutable maps by using a list-based data structure. It maintains insertion order and returns ListMap. This collection…
-
Scala String In scala, string is a combination of characters or we can say it is a sequence of characters. It is…