Open Keyword Kotlin (Hindi)

Open Keyword Kotlin (Hindi)

Easy learning

1 год назад

170 Просмотров

It indicate that a class, method, or property is open for extension.

This means that other classes can inherit the class or override the method or property by a subclass or subInterface.

By default, classes, functions, and properties in Kotlin are final, which means that they cannot be inherited or overridden.

Тэги:

#Inheritance #Kotlin #Open #Open_keyword_in_Kotlin #Override_Class_properties #Override_method #Use_of_Open_Keyword_in_kotlin
Ссылки и html тэги не поддерживаются


Комментарии: