0 votes
in Kotlin by
Explain Strings in Kotlin?

1 Answer

0 votes
by

A string is a basic data type in any programming language. A string is nothing but a sequence of characters. The String class represents character strings. In Kotlin, all strings are objects of the String class, which means string literals are implemented as instances of the class.

Syntax:

 Val myString = "Hey there!"

Related questions

0 votes
asked May 26, 2022 in Kotlin by Robin
0 votes
asked May 26, 2022 in Kotlin by Robin
0 votes
0 votes
0 votes
asked May 26, 2022 in Kotlin by Robin
...