Author: Shekhar Sharma

Scala – Auxiliary Constructor 0

Scala – Auxiliary Constructor

In the previous post, we have learnt primary constructor in scala. Now, we will learn about Auxiliary constructor in scala. In scala, constructor other than primary constructor are called Auxiliary Constructor or secondary constructor....

Scala – Primary Constructor 0

Scala – Primary Constructor

In the previous chapter, we have learnt about package object in scala. Now, we will see constructor and its types in scala. Constructor is used for creating an instance (object) of a class. Scala has 2...

Scala – Companion Object 0

Scala – Companion Object

In the previous chapter, we have learnt about the Singleton Object. Now, let’s see study about companion object. When you have a class with same name as singleton object, it is called companion class...

Scala – Singleton Object 0

Scala – Singleton Object

In this tutorial, we are going to learn what is Singleton Object in Scala. You would be aware of static keyword in java which belongs to the class. One way in which Scala is...

Scala – Objects & Classes 0

Scala – Objects & Classes

In this tutorial, we will learn about objects and classes in scala which comes under OOPs concepts. In OOP, it is very important to understand what is an object and a class. Let’s understand...

Scala – OOPs concepts 0

Scala – OOPs concepts

Scala combines object-oriented and functional programming in one concise, high-level language. The name Scala comes from the word scalable, and true to that name, it’s used to power the busiest websites in the world, including...

Scala – Variables 0

Scala – Variables

In this tutorial, we will learn about scala variables. Variable is a name declared in programming which reserves memory location to store a value.Based on data types, memory is allocated to a variable by...

Scala – Data Types 0

Scala – Data Types

In this tutorial, we will see the data types used in scala. What is a data type? A data type is a categorisation of data that tells compiler what type of value the variable...

Scala – First Steps 0

Scala – First Steps

In this tutorial, you will get familiar with basic syntax of scala which will help you to understand detailed chapters on scala. If you are coming from Java background, it will be easy for...