Kotlin has a variety of collection types: objects that can hold a collection of other objects.
One is Array
. The simplest way to create an Array
is via the arrayOf()
global function,
which wraps its parameter list in an Array
.
You can learn more about this in:
Tags: