What is Ranges operator in Kotlin?
Answer / Puneet Awasthi
The Ranges operator in Kotlin allows creating a sequence of values based on a given range. It is denoted by .., for example, `1..5` generates the numbers 1 through 5.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does you class compile if the package is wrong? Why?
What is the difference between const vs val?
Who created Kotlin programming language and when?
Is there any disadvantage of Kotlin ?
Why you should shift from Java to kotlin?
What is the extension of Kotlin file?
How can you handle null exceptions in Kotlin?
What is the difference between Const and Val?
How do you migrate the code from Java to Kotlin ?
Which is the default modifier for a method, variable, class?
In Kotlin can interface have implemented method?
What is the use of function extension ?