diff options
author | Andrew <andrewgallasch@gmail.com> | 2023-10-31 19:33:28 +1030 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 19:33:28 +1030 |
commit | 08331fe00f4f7a169fa45cc7152eef2e3919902e (patch) | |
tree | 5ff71367274ac623375e071785e7bb4dff666ac5 | |
parent | 088f41898a1a18160de8eb5bf1bf871f47109956 (diff) | |
parent | f5f86b3df08d4c362c0478d2beabdafb90170b62 (diff) |
Improve Kotlin variables explanation
-rw-r--r-- | kotlin.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kotlin.html.markdown b/kotlin.html.markdown index 6ca2dcf2..a6fac518 100644 --- a/kotlin.html.markdown +++ b/kotlin.html.markdown @@ -26,7 +26,7 @@ any parameters. */ fun main(args: Array<String>) { /* - Declaring values is done using either "var" or "val". + Declaring variables is done using either "var" or "val". "val" declarations cannot be reassigned, whereas "vars" can. */ val fooVal = 10 // we cannot later reassign fooVal to something else |