摘要: 第一类:逻辑型boolean 第二类:文本型char 第三类:整数型(byte、short、int、long) char类型占2个字节short从-32768到32767int从-2147483648,到2147483647共10位long从-9223372036854775808到92233720 阅读全文
posted @ 2017-09-23 13:41 音为 阅读(109) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { // TODO Auto-generated method stub Scanner in = new Scanner(System.in); if(in.hasNext()) { String[] a = in.ne 阅读全文
posted @ 2017-09-23 12:45 音为 阅读(217) 评论(0) 推荐(0) 编辑