diff options
author | Andrew <andrewgallasch@gmail.com> | 2023-10-31 19:29:19 +1030 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 19:29:19 +1030 |
commit | f5f86b3df08d4c362c0478d2beabdafb90170b62 (patch) | |
tree | 5ff71367274ac623375e071785e7bb4dff666ac5 /kotlin.html.markdown | |
parent | 088f41898a1a18160de8eb5bf1bf871f47109956 (diff) |
Update kotlin.html.markdown
Improve variables explanation
Diffstat (limited to 'kotlin.html.markdown')
-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 |