Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Як правильно написати extension-функцію в Kotlin?
String fun firstChar(): Char = this[0]
fun firstChar(String): Char = String[0]
fun String.firstChar(): Char = this[0]
extension String.firstChar(): Char = this[0]
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!