Kotlin nested class is by default static, hence, it can be accessed without creating any object of that class but with the help of . dot operator. Same time we cannot access members of the outer class inside a nested class.
-
Notifications
You must be signed in to change notification settings - Fork 0
Kotlin nested class is by default static, hence, it can be accessed without creating any object of that class but with the help of . dot operator. Same time we cannot access members of the outer class inside a nested class.
License
VaibhavMojidra/Kotlin---Demo-Nested-Class
About
Kotlin nested class is by default static, hence, it can be accessed without creating any object of that class but with the help of . dot operator. Same time we cannot access members of the outer class inside a nested class.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published