daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest Oct 15th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. val variableName: VariableType = someValue //not changeable
  2. var anotherVarName: AnotherVarType = anotherValue //changeable
  3. variableName = differentValue //ERROR! Val cannot be reassigned
  4. anotherVarName = anotherDifferentValue //OK
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top