Kotlin - Data Types
Which of the following is the correct way to get the Unicode code of a
Char in Kotlin?Char in Kotlin?code property to get the Unicode integer value of a Char.code property correctly. val code = 'A'.toInt() uses toInt() which does not exist for Char. Options B and D use non-existent methods/properties.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions