Skip to main content

One post tagged with "Object Declarations"

Our Object Declarations tag archive page features a variety of tutorials and articles that delve into the intricacies of Object Declarations, providing valuable insights and knowledge.

View All Tags

Exploring Kotlin's Companion Objects

· 9 min read
Engineering Team

In this tutorial, we will explore Kotlin's companion objects and learn how they can be used in software development. Companion objects in Kotlin are special objects that are associated with a class and have a similar behavior to static members in Java. They can be created within a class and provide a way to define properties and functions that can be accessed without having an instance of the class.