如何在 Groovy 中声明字符串数组?我正在尝试如下但它抛出一个错误
def String[] osList = new String[] No expression for the array constructor call at line:
我究竟做错了什么?
groovy
groovy ×1