Simple Program of Scala In this tutorial, you will learn how to write scala programs. To write scala program you need to…
datatype
-
-
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…
-
Scala Constructor In scala, constructor is not special method. Scala provides primary and any number of auxiliary constructors. We have explained each…
-
Scala ListSet In scala, ListSet class implements immutable sets using a list-based data structure. Elements are stored internally in reversed insertion order,…
-
Scala this In scala, this is a keyword and used to refer current object. You can call instance variables, methods, constructors by…
-
Scala Custom Exception In scala, you can create your own exception. It is also known as custom exceptions. You must extend Exception…
-
Scala Maps Map is used to store elements. It stores elements in pairs of key and values. In scala, you can create…
-
Scala Thread Methods Thread class provides various methods to deals with thread’s states. You can use these methods to control the flow…