Created
February 12, 2022 13:09
-
-
Save arsalankhan994/f2c33d00ffaad718d2c46f426d8099c6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Using open keyword to inherit this class | |
*/ | |
open class InheritableClass { | |
} | |
/* | |
Try to Inherit inheritable class | |
*/ | |
class InheritInheritableClass : InheritableClass() { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment