Give example to declare variable using both val and var in Kotlin?
Answer / Manish Jaiswal
"val NUMBER_OF_PEOPLE: Int = 10nvar IS_RAINING: Boolean = false"
| Is This Answer Correct ? | 0 Yes | 0 No |
Give me name of the extension methods Kotlin provides to java.io.File
Define when expression?
Which type of programming does kotlin support?
What are the features that kotlin support and java doesn’t?
Is there any disadvantage of Kotlin ?
What is the difference between const vs val?
What are the programming types that Kotlin supports?
Explain functions in kotlin?
Differentiate between val and var in Kotlin?
Who created Kotlin programming language and when?
What is the default visibility modifier and also list the different types of modifiers?
What is kotlin’s null safety?