summaryrefslogtreecommitdiffhomepage
path: root/kotlin.html.markdown
diff options
context:
space:
mode:
authorAndrew <andrewgallasch@gmail.com>2023-10-31 19:29:19 +1030
committerGitHub <noreply@github.com>2023-10-31 19:29:19 +1030
commitf5f86b3df08d4c362c0478d2beabdafb90170b62 (patch)
tree5ff71367274ac623375e071785e7bb4dff666ac5 /kotlin.html.markdown
parent088f41898a1a18160de8eb5bf1bf871f47109956 (diff)
Update kotlin.html.markdown
Improve variables explanation
Diffstat (limited to 'kotlin.html.markdown')
-rw-r--r--kotlin.html.markdown2
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