A

Admin • 833K Points
Coach

Q. Which of these is a Kotlin escape sequence for a new line?

  • (A) \r
  • (B) \n
  • (C) \b
  • (D) \t
  • Correct Answer - Option(B)
  • Views: 14
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

\n represents a newline character in Kotlin strings.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.