More Syntax Sugar

Learn about string interpolation and expression bodies in Kotlin.

We'll cover the following

String interpolation

Kotlin allows access to variables and other expressions directly from within string literals, usually eliminating the need for string concatenation.

Consider the following Java code:

Get hands-on with 1200+ tech skills courses.