Constructors in scala

Combating Fallacy in Scala

Combating Fallacy in Scala: Part 3

Reading Time: 3 minutes Hey everyone, I’m back with another blog, “Combating Fallacy in Scala: Part 3“. So, in this blog, we will have a look into Classes in Scala and the Constructor Parameters. Class and Constructor Parameters Before moving to the problem in this blog, let’s have a look at classes in Scala. According to the Scala Docs “Classes in Scala are blueprints for creating objects. They can Continue Reading

Scala: Auxiliary Constructors – We are here to help!

Reading Time: 2 minutes Hi Everyone, In this blog, we will be discussing the constructors of the Scala. Constructor: A constructor is a special method of a class or structure in object-oriented programming that initializes an object of that type. A constructor is an instance method that usually has the same name as the class, and can be used to set the values of the members of an object, Continue Reading