看每个语言的函数不同java: Arrays.asList(String [])
a = "hello world".split(" ") print(a) #返回类型就是list 无需在转换
split获取的本身就是列表对象,建议你多查查api