IM trying to use this command in groovy but I cant print the array
appears and error
Caught: java.lang.IllegalArgumentException: argument type mismatch
java.lang.IllegalArgumentException: argument type mismatch at Test.main(Test.groovy:7)
how I could solve this
I use this same command without this line and this works
testArray["fff"] = "B"
this is my code
I dont know because I cant create this 2d array
def testArray = []
testArray[0] = "A"
testArray["fff"] = "B"
testArray[2] = "C"
println testArray
please give me a help