Scala Checkers
Monday, October 25, 2010
Val vs Var
Just did some research on this....
val is used for immutable values (those which cannot be changed *cough* Java final variables)
var is mutable.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment