Skip to content

Category Archives: Scala

Keywords or Reserved words are the words in a language that are used for some internal process or represent some predefined actions. These words are… Read More
Method Overloading is the common way of implementing polymorphism. It is the ability to redefine a function in more than one form. A user can… Read More
A string is a sequence of characters. In Scala, objects of String are immutable which means a constant and cannot be changed once created.   Creating… Read More
Inheritance is an important pillar of OOP(Object Oriented Programming). It is the mechanism in Scala by which one class is allowed to inherit the features(fields… Read More
An operator is a symbol that represents an operation to be performed with one or more operand. Operators are the foundation of any programming language.… Read More
In Scala, we use a break statement to break the execution of the loop in the program. Scala programing language does not contain any concept… Read More
Variables are simply storage locations. Every variable is known by its name and stores some known and unknown piece of information known as value. So… Read More
A data type is a categorization of data which tells the compiler that which type of value a variable has. For example, if a variable… Read More
A function is a collection of statements that perform a certain task. One can divide up the code into separate functions, keeping in mind that… Read More
Pattern matching is a way of checking the given sequence of tokens for the presence of the specific pattern. It is the most widely used… Read More
Decision making in programming is similar to decision making in real life. In decision making, a piece of code is executed when the given condition… Read More
Looping in programming languages is a feature which facilitates the execution of a set of instructions/functions repeatedly while some condition evaluates to true. Loops make… Read More
Scala is a general-purpose, high-level, multi-paradigm programming language. It is a pure object-oriented programming language which also provides the support to the functional programming approach.… Read More

Start Your Coding Journey Now!