Skip to content

Instantly share code, notes, and snippets.

@rail-rate rail-rate/char1.kt
Created Jun 16, 2019

Embed
What would you like to do?
文字型1
fun main(args: Array<String>) {
val a : Char = 'a' //半角小文字
val b : Char = 'A' //半角大文字
val c : Char = '' //全角大文字
val d : Char = '1' //半角数字
val e : Char = '' //全角数字
val f : Char = '' //ひらがな
val g : Char = '' //カタカナ
val h : Char = '' //漢字
println(a)
println(b)
println(c)
println(d)
println(e)
println(f)
println(g)
println(h)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.