In Kotlin, a companion object is an object that is associated with a class and can be accessed using the class name. It's similar to a static method or field in Java.
-
Notifications
You must be signed in to change notification settings - Fork 0
In Kotlin, a companion object is an object that is associated with a class and can be accessed using the class name. It's similar to a static method or field in Java.
License
VaibhavMojidra/Kotlin---Demo-Companion-Objects
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
About
In Kotlin, a companion object is an object that is associated with a class and can be accessed using the class name. It's similar to a static method or field in Java.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published