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