The property doesn't exist if the object doesn't e...
# getting-started
m
The property doesn't exist if the object doesn't exist. If it is a constant across all objects of that class, you may want to define it inside the companion object of the class though. Then you could access it with
MyClass.property
.