What is the role of open keyword in Kotlin?
Answer / Mahendra Gautam
The 'open' keyword in Kotlin allows a class or an interface to be subclassed. This means that other classes can inherit from it and extend its functionality.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are different types of constructors in kotlin?
How can you declare a variable in Kotlin?
How to compare two strings in Kotlin?
What type of programming does Kotlin support?
State the differences between val and var?
Name the extension methods Kotlin provides to java.io.File?
What is lateinit modifier?
Is there any dependency of Secondary Constructors on Primary Constructors ?
Which companies use kotlin?
Does Kotlin allow macros?
Can you migrate the code from java to kotlin?
What is the use of function extension ?