Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val variableName: VariableType = someValue //not changeable
- var anotherVarName: AnotherVarType = anotherValue //changeable
- variableName = differentValue //ERROR! Val cannot be reassigned
- anotherVarName = anotherDifferentValue //OK
Add Comment
Please, Sign In to add comment