object in Kotlin
To create an instance of a class, we call the constructor as if it were a regular function: ``` val invoice = Invoice() val customer = Customer("Joe Smith") ``` Note that Kotlin does not have a new keyword.
To create an instance of a class, we call the constructor as if it were a regular function: ``` val invoice = Invoice() val customer = Customer("Joe Smith") ``` Note that Kotlin does not have a new keyword.