Tag: var

“val” versus “var” Declarations in Scala

Scala allows programmers to decide whether the variable is immutable or mutable. This can be done by using the keywords “val” and “var”. Continue reading to know more about “val” and “var”.

Advertisements