Skip to content

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

Notifications You must be signed in to change notification settings

VaibhavMojidra/Kotlin---Demo-Companion-Objects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kotlin Demo Companion Objects

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.


Vaibhav Mojidra - 1.jpeg

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

No packages published

Languages