[3] Scala Development Tutorial - Scala Basics: Variables and Constants
In "[2] Scala Development Tutorial - Scala Basics: Data Types" we discussed data types. This article will discuss variables and constants in Scala. Before learning how to declare variables and constants, let's first understand what variables and constants are: 1. Variable: A quantity whose value may change during program execution is called a variable, e.g., time, age. 2. Constant: A quantity whose value does not change during program execution is called a constant, e.g., the value 3, the character 'A'.
