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