HomeTriviaTech & GamesKotlin
concept🎮 Tech & Games

Kotlin Trivia Questions

How much do you really know about Kotlin? Below are 8 true or false statements. Click each one to reveal the answer and explanation.

1.

Kotlin was first released in 2016, but its first stable version was in 2011.

Click to reveal answer ›

Easy
✗ FALSE

Kotlin's first stable release (1.0) was in February 2016. It was first announced in 2011 but remained in development until then.

2.

Kotlin was named after Kotlin Island, near St. Petersburg, Russia.

Click to reveal answer ›

Easy
✓ TRUE

JetBrains named Kotlin after Kotlin Island in the Gulf of Finland, continuing a tradition of using island names for their projects.

3.

The Elvis operator `?:` in Kotlin is named after Elvis Presley's hairstyle.

Click to reveal answer ›

Easy
✓ TRUE

The operator's sideways resemblance to Elvis Presley's quiff (?:) inspired the name. It returns the left side unless null, then the right.

4.

Kotlin/Native can compile to WebAssembly, but not to iOS binaries.

Click to reveal answer ›

Medium
✗ FALSE

Kotlin/Native compiles to native binaries for iOS, macOS, Linux, and WebAssembly, among other targets. iOS is one of its primary uses.

5.

Kotlin's coroutines are based on Java's native threads for concurrency.

Click to reveal answer ›

Medium
✗ FALSE

Kotlin coroutines are lightweight, user-mode threads that use suspension, not OS threads. They're far more efficient than Java threads for async tasks.

6.

Kotlin's `when` expression can be used without arguments as a cleaner if-else chain.

Click to reveal answer ›

Medium
✓ TRUE

`when {}` without an argument acts like a switch on boolean conditions, making complex if-else chains more readable and concise.

7.

Kotlin allows you to override `val` properties with `var` in subclasses.

Click to reveal answer ›

Hard
✗ FALSE

You cannot override a `val` with a `var` because that would break immutability guarantees. Only `open val` can be overridden by another `val`.

8.

Kotlin's type system does not support union types like TypeScript does.

Click to reveal answer ›

Hard
✓ TRUE

Kotlin lacks native union types; it uses sealed classes and `when` expressions to model similar behavior, but not as first-class union types.

More in Tech & Games

MinecraftTrivia Questions →ChessTrivia Questions →TetrisTrivia Questions →Super MarioTrivia Questions →The Legend of ZeldaTrivia Questions →
View all Tech & Games topics →

Want to test yourself in real time?

Swipe right for True, left for False. New questions every day on PopBluff.

Play PopBluff Free →