![]() ![]() Now, let’s see how to access and modify them.Īs you know, an array in Kotlin is basically a class. So far, we have seen how to create and initialize an array in Kotlin. Other factory methods available for creating arrays: These classes do not extend the Array class however, they implement the same methods and properties.įor example, the factory method to create an integer array is:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |