Char type represent a single character.
Character literals use single quotes such as A or Z.
Chars support escaping for the following characters: \t, \b, \n, \r, ', ", \\, and \$.
All unicode characters can be represented using the unicode number, for example, \u1234.
Note that the char type is not treated as a number in Kotlin.
fun main(args: Array<String>) { val c = 'a' val d = '\n' val z = 'A' println(c)/* w w w . j a v a2 s . c om*/ println(d) println(z) }