Scala File handling Scala provides predefined methods to deal with file. You can create, open, write and read file. Scala provides a…
scala
-
-
Scala Multidimensional Array Multidimensional array is an array which store data in matrix form. You can create from two dimensional to three,…
-
Scala Throws Keyword Scala provides throws keyword to declare exception. You can declare exception with method definition. It provides information to the…
-
Features of Scala There are following features of scala: Type inference Singleton object Immutability Lazy computation Case classes and Pattern matching Concurrency…
-
Scala Final Final is a keyword, which is used to prevent inheritance of super class members into derived class. You can declare…
-
Scala Multithreading Multithreading is a process of executing multiple threads simultaneously. It allows you to perform multiple operations independently. You can achieved…
-
Scala Trait Mixins In scala, trait mixins means you can extend any number of traits with a class or abstract class. You…
-
History of Scala Scala is a general purpose programming language. It was created and developed by Martin Odersky. Martin started working on…
-
Scala Finally The finally block is used to release resources during exception. Resources may be file, network connection, database connection etc. the…
-
Scala Object and Class Unlike java, scala is a pure object oriented programming language. It allows us to create object and class…