Differentiate between break and continue?
Answer / Prince Kumar Rahul
"The 'break' statement in Kotlin ends the current iteration of a loop, whereas 'continue' skips the current iteration and continues with the next one."
| Is This Answer Correct ? | 0 Yes | 0 No |
What are different types of constructors in kotlin?
How do you migrate the code from Java to Kotlin ?
How many constructors are available in Kotlin?
How do you declare a variable in kotlin?
Why to use kotlin?
Differentiate between val and var in Kotlin?
Why is kotlin preferred over java?
How to compare two strings in Kotlin?
What are primitive data types in kotlin?
How to declare a variable in kotlin?
What is companion object?
What does "Null Safety" mean in Kotlin?