Created
November 23, 2019 11:21
-
-
Save MostafaNasiri/eb02f3d0a305265a0bfbe642249a136e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main() { | |
val nums = intArrayOf(1, 3, 5, 7, 9) | |
println(nums.size) | |
println(nums[1]) | |
// You can have an array of values with different types | |
val items = arrayOf(1, "Tom", 3.14) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment