• Similar to a static method in Java.
  • Allows defining methods and properties inside a class that can be accessed without creating an instance.
class MyClass {
    companion object {
        fun greet() = "Hello from Companion Object"
    }
}
 
println(MyClass.greet()) // No need to create an instance