Q144
You are upgrading a Java class to Kotlin. What should you use to replace the Java class's static fields?
A.
an anonymous object
B.
a static property
C.
a companion object
AnswerD.
a backing field
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board