Scala Set It is used to store unique elements in the set. It does not maintain any order for storing elements. You…
conditional expressions
-
-
Scala Tutorial Scala tutorial provides basic and advanced concepts of Scala. Our Scala tutorial is designed for beginners and professionals. Scala is…
-
Scala Break Break is used to break a loop or program execution. It skips the current execution. Inside inner loop it breaks…
-
Scala Higher Order Functions Higher order function is a function that either takes a function as argument or returns a function. In…
-
Scala Singleton and Companion Object Scala Singleton Object Singleton object is an object which is declared by using object keyword instead by…
-
Scala Variables and Data Types Variable is a name which is used to refer memory location. You can create mutable and immutable…
-
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 Stream Stream is a lazy list. It evaluates elements only when they are required. This is a feature of scala. Scala…
-
Scala Vector Vector is a general-purpose, immutable data structure. It provides random access of elements. It is good for large collection of…