Question: You are upgrading a Java class to Kotlin. What should you use to replace the Java class's static fields?
- an anonymous object
- a static property
- a companion object
- a backing field
Answer: The correct answer of the above question is Option C:a companion object