How does string interpolation work in Kotlin?
String interpolation is a variable substitution having its value inside a string. In Kotlin, the $ character is used for interpolating a variable, and the ${} is used to interpolate an expression. Kotlin allows users the liberty of accessing variables and expressions directly from the string literals, thus eliminating the need for concatenation.
BY Best Interview Question ON 17 Aug 2020