What does the strings[1] contain after the execution of the following code?
val chars = charArrayOf('H', 'Y', 'P', 'E', 'R', '-', 'S', 'K', 'I', 'L', 'L' )
val stringFromChars = String(chars)
val strings = stringFromChars.split("-")What does the strings[1] contain after the execution of the following code?
val chars = charArrayOf('H', 'Y', 'P', 'E', 'R', '-', 'S', 'K', 'I', 'L', 'L' )
val stringFromChars = String(chars)
val strings = stringFromChars.split("-")Create a free account to access the full topic