- Kotlin Programming By Example
- Iyanu Adelekan
- 54字
- 2025-04-04 17:16:16
String
A string is a sequence of characters. In Kotlin, strings are represented by the string class. Strings can be easily written by typing out a sequence of characters and surrounding it with double quotation marks:
val martinLutherQuote: String = "Free at last, Free at last, Thank God almighty we are free at last."