package JavaInterop import java.util.* fun main(args: Array) { val list = ArrayList() list.add("foo") System.out?.println(list[0]) }