Singleton

Ensure a class has only one instance, and provide a global point of access to it.

Examples in Kotlin
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in Kotlin!