如何在一行中打印Kotlin中字符串数组的所有元素?
这是我的代码
    fun main(args : Array<String>){
     var someList : Array<String> = arrayOf("United","Chelsea","Liverpool")
      //How do i print the elements using the print method in a single line?
    }
在java中,我会做这样的事情
someList.forEach(java.lang.System.out::print);