Scala is the abbreviation of Scalable Language and is a multi-paradigm programming language

Martin Odersky of the Ecole Polytechnique Fédérale de Lausanne (EPFL) began designing Scala in 2001 based on the work of Funnel.

Funnel is a programming language that combines functional programming ideas with Petri nets.

Scala variables syntax

Variables are convenient placeholders used to reference computer memory addresses. Variables will occupy a certain amount of memory space after they are created.

Based on the variable's data type, the operating system allocates memory and determines what will be stored in reserved memory. Therefore, by assigning different data types to variables, you can store integers, decimals, or letters in these variables.

Scala variables example

var myVar : String = "Foo"
var myVar : String = "Too"