Basically, strings refer to a collection of various characters altogether. There are two types of strings present in Kotlin which are-

  • Raw strings
  • Escaped strings

Under these strings, templates can also be evaluated easily and this evaluation is known by term as string template interpolation.

BY Best Interview Question ON 07 Oct 2019