Scala – Variables
Variables are reserved memory locations to store values.In Scala variables are created using var and val keywords. var keyword creates mutable variable and val creates immutable variable.
Variables are reserved memory locations to store values.In Scala variables are created using var and val keywords. var keyword creates mutable variable and val creates immutable variable.