Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In kotlin, can we create an empty array?



In kotlin, can we create an empty array?..

Answer / Siddharth

Yes, in Kotlin you can create an empty array by initializing it with empty brackets [] for arrays, or MutableList<>() for mutable lists.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Kotlin Interview Questions

Explain the data classes in kotlin?

1 Answers  


Can Kotline offer any additional functionality for standard Java packages or standard Java classes?

1 Answers  


What is the difference between Const and Val?

1 Answers  


How to declare an initialization block in kotlin class?

1 Answers  


State the differences between val and var?

1 Answers  


How do you migrate the code from Java to Kotlin ?

1 Answers  


How Kotlin works?

1 Answers  


What is the use of any() function?

1 Answers  


What are the features available in kotlin but not in java?

1 Answers  


What are the disadvantages of kotlin?

1 Answers  


What are the major features of Kotlin?

1 Answers  


What are the features that kotlin support and java doesn’t?

1 Answers  


Categories