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...


How to declare a Kotlin variable?



How to declare a Kotlin variable?..

Answer / Shalabh Kapoor

{"data": [n "To declare a Kotlin variable, specify its type followed by the variable name and assign it an initial value. For example: var myVariable: Int = 10."]}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Kotlin Interview Questions

Mention the structural expressions in Kotlin?

1 Answers  


What do you mean by kotlin string interpolation?

1 Answers  


Which method is used to get array last index?

1 Answers  


What is kotlin’s null safety?

1 Answers  


Which companies use kotlin?

1 Answers  


What are the disadvantages of kotlin?

1 Answers  


How does interoperable feature work in Kotlin for java ?

1 Answers  


Describe the use of extension function?

1 Answers  


List of extension methods kotlin provides to java.io.file?

1 Answers  


What are the modifier available in Kotlin ?

1 Answers  


Does Kotlin support both Explicit conversion and Implicit conversions?

1 Answers  


What is Data Class in Kotlin?

1 Answers  


Categories