1
1
Fork 0
AtomicKotlinCourse/Programming Basics/var & val/Exercise 2/task.md

5 lines
142 B
Markdown
Raw Permalink Normal View History

2019-10-09 11:42:09 +03:00
## `var` & `val` (#2)
Define `var a = 10`. Now define a `val b = a`. Now assign `42` to `a` and
display both `a` and `b` on different lines.