Created
April 12, 2020 00:52
-
-
Save saurabh-dk/aaf950f29908b2d265f7b853e71be354 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
//Kotlin | |
fun main() { | |
var array1 = intArrayOf(1,2,3) | |
var array2 = intArrayOf(4,7,5) | |
array1 = array1 + array2 | |
array1.sort() | |
print(array1.joinToString()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@prachijaveri Please have a look at this.