How do you create a singleton class in Kotlin? - Study24x7
Social learning Network
5 followers study24x7 17 Oct 2024 09:52 AM study24x7 study24x7

How do you create a singleton class in Kotlin?

A

object Singleton

B

class Singleton private constructor()

C

val Singleton = Singleton()

D

None of the above

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles