Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyKotlindata classesSingle-choice MCQ

Why does the Kotlin compiler reject this data class declaration?

data class Point(x: Int, y: Int)