mirror of
https://gitlab.com/CodeSolutionsProject/CodeGuide
synced 2026-02-15 01:21:38 +01:00
Initial commit
This commit is contained in:
16
langs/kotlin/basic.json
Normal file
16
langs/kotlin/basic.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"array": [
|
||||
"var arr = arrayOf(1, 2, 3)",
|
||||
"println(arr[0])"
|
||||
],
|
||||
"constant": [
|
||||
"val a: Int",
|
||||
"// It cannot be do",
|
||||
"val b = 6"
|
||||
],
|
||||
"variable": [
|
||||
"var a: Int",
|
||||
"a = 5",
|
||||
"var b = 6"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user