Scala Tutorials
Word “Scala” comes from a combination of “scalable” and “language”. It means that it is designed to grow with the demand of users. It was designed and developed by Martin…
Word “Scala” comes from a combination of “scalable” and “language”. It means that it is designed to grow with the demand of users. It was designed and developed by Martin…
Scala is a general-purpose programming language providing support for functional programming and a strong static type system
An Option is a data type in Scala that indicates the presence or absence of some data. It can be an instance of either case class called Some or Singleton object called None.An instance of Some can store data of any type . An instance of None object represents absence of data.
A Case class in Scala programming language is a class with a case modifier. It is used to conveniently store and match the contents of a class. case class Person…
Scala Classes are Blueprint for Creating Objects.They can Contain methods, values, variables ,types, objects, traits and Classes which are Collectively called Members.
Function is a block of executable code that returns a value . Function in scala can be defined inside another function .It can be returned as an output from another function.
Variable in Scala is defined as memory locations reserved to store values. When a variable is created, some memory is reserved for the space it will use. Scala has mainly…