Char and Boolean
Char holds one character and supports arithmetic. Boolean has && || and !.
Example
val c = 'a'
println(c + 1)
println(c.uppercaseChar())
println(c.isLetter())
println('5'.digitToInt())
println(true xor false)Exercise
Letter test.
c.()
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.