Skip to content

Tag Archives: Scala-Basics

Any constant value which can be assigned to the variable is called as literal/constant. The literals are a series of symbols utilized for describing a… 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
File Handling is a way to store the fetched information in a file. Scala provides packages from which we can create, open, read and write… Read More
Scalability of a language is effected by some factors ranging from syntax details to component abstraction construct. The main aspect of scala that makes it… Read More
Scala has some restrictions on the Type Parameters or Type Variable i.e, (type bound) and Upper bound is one of them. By implementing Type Bounds,… Read More
Scala REPL is an interactive command line interpreter shell, where REPL stands for Read-Evaluate-Print-Loop. It works like it stands for only. It first Read expression… Read More
Scala(pronounced as “skah-lah”) is general-purpose programming language designed by Martin Odersky. The design of Scala started in 2001 at EPFL, Lausanne, Switzerland. Scala was released… Read More
The arguments which are passed by the user or programmer to the main() method are termed as Command-Line Arguments. main() method is the entry point… Read More
An enumerations serve the purpose of representing a group of named constants in a programming language. Refer Enumeration (or enum) in C and enum in… Read More
An iterator is a way to access elements of a collection one-by-one. It resembles to a collection in terms of syntax but works differently in… Read More
Variable declaration specifies the name of the variable that would be stored in the memory and memory can be accessed further with this name of… Read More
Traits are like interfaces in Java. But they are more powerful than the interface in Java because in the traits you are allowed to implement… Read More
Lazy evaluation or call-by-need is a evaluation strategy where an expression isn’t evaluated until its first use i.e to postpone the evaluation till its demanded.… Read More
The Hello World! the program is the most basic and first program when you dive into a new programming language. This simply prints the Hello… Read More
Prerequisite: Set in Scala | Set-1 Adding items in Mutable Set In Set, We can only add new elements in mutable set. +=, ++== and… Read More