Which Language? · #6 · 2026-04-10
Which language is this?
Difficulty 2/3
How to play
Read the code snippet and pick which of the four listed languages it’s written in. The snippet is deliberately unhighlighted — the syntax is the only clue. Press 1–4 or click to answer.
data class User(val name: String, val age: Int)
val u = User("Ada", 36)
println(u.copy(age = 37))
Loading your progress...
Press 1 through 4, or tap a numbered choice, to answer. Back to hub