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

Define high order functions in Kotlin?

1 Answers  


Does Kotlin allow macros?

1 Answers  


What is lateinit modifier?

0 Answers  


How many ways to create array in kotlin?

1 Answers  


What kinds of programming does Kotlin support ?

1 Answers  


How do you check if two Strings are equal valued ?

1 Answers  


What is Ranges operator in Kotlin?

1 Answers  


Give an example of high order functions?

1 Answers  


Where does this Kotlin run ? Does it have some kind of different runtime environment ?

1 Answers  


Is there any Ternary Conditional Operator in Kotlin like in Java?

1 Answers  


What does "Null Safety" mean in Kotlin?

1 Answers  


Does Kotlin provide any additional functionalities for standard Java packages or standard Java classes?

0 Answers  


Categories