Concatenate two arrays firstArray and secondArray and print the result.
In the example below, each line corresponds to a separate array. Elements are separated by spaces.
Tip: Use the function joinToString().
Concatenate two arrays firstArray and secondArray and print the result.
In the example below, each line corresponds to a separate array. Elements are separated by spaces.
Tip: Use the function joinToString().
Sample Input 1:
valar morghulis
valar dohaerisSample Output 1:
valar, morghulis, valar, dohaerisCreate a free account to access the full topic