Beginner Kotlin
Q12 / 100

What is string interpolation in Kotlin?

Correct! Well done.

Incorrect.

The correct answer is B) Embedding expressions inside a string using $ or ${}

B

Correct Answer

Embedding expressions inside a string using $ or ${}

Explanation

"Hello, $name!" or "${user.fullName}" embeds variable values or expressions directly in string literals.

Progress
12/100