Q34
What is a companion object in Kotlin?
A.
An object that is used to store constants
B.
An object that is used to represent data structures
C.
An object that is used to create instances of a class
D.
An object that is used to define static members of a class
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board