kotlin覚えたメモ①

kotlin playground playgroundで試し実行ができるのが便利 https://play.kotlinlang.org/ 変数の宣言 var 変数名: 変数の型 = 初期値 型 概要 Double 64bit浮動小数点数型 Float 32bit浮動小数点数型 Long 64bit整数型 Int 32bit整数型 Short 16bit整数型 Byte 8bit整数型 Boolean 真偽値 Char 文字型 String 文字列型` 型…