摘要: 基本数据类型: byte 1个字节 正负都能表示2的8-1次方 -128~127(包括0) short 2个字节 2的16-1次 整数类型 (默认为int类型) int 4个字节 2的32-1次方 long 8个字节 2的64-1次方 long类型定义的时候要在数字后面加上L或l 例: long n 阅读全文
posted @ 2018-03-29 19:57 微光TeaRs 阅读(110) 评论(0) 推荐(0)