Skip to content

Tag Archives: Scala-Basics

A set is a collection which only contains unique items. The uniqueness of a set are defined by the == method of the type that… Read More
Comments are entities, in our code, that the interpreter/compiler ignores. We generally use them to explain the code, and also to hide code details. It… Read More
Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented, etc. Java applications are compiled to bytecode that can run on any Java… Read More
Python is a high level, interpreted and general purpose dynamic programming language that focuses on code readability. Python requires less typing, provides new libraries, fast… Read More
In programming languages, Identifiers are used for identification purpose. In Scala, an identifier can be a class name, method name, variable name or an object… Read More
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
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 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
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