Skip to content

Category Archives: Scala

Variables are simply a storage location. Every variable is known by its name and stores some known and unknown piece of information known as value.… 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