How do I write Java brackets "[ ]" in Kotlin?

Viewed 1715

I apologize in advance for my programming political incorrectness, as I do not know what the thing I need to type is called.

I have this Java code.

FrutasVerduras frutasVerduras_datos[] = new FrutasVerduras[] {

}

How would this be written in Kotlin?

1 Answers
Related