scala assign value to variable code example Example: how to define variable in psark val or val variable_name: variable_datatype = value;