Beginner
Kotlin
Q21 / 100
What is the Kotlin equivalent of Java's static methods?
Correct! Well done.
Incorrect.
The correct answer is D) Both B and C are valid
D
Correct Answer
Both B and C are valid
Explanation
Kotlin doesn't have static. You can use companion object functions (class-level) or top-level functions (package-level) as alternatives.
Progress
21/100