10 2015 档案

摘要:1,isDigit();是否是数字 char c = '1'; boolean bool = Character.isDigit(c); System.out.println(bool);//true2,isLetter();是否是字母 char c2 = 'a'; boolean boo... 阅读全文
posted @ 2015-10-30 19:52 菜包包 阅读(216) 评论(0) 推荐(0)
摘要://5种构造方法 public void Con(){ String str = "sfaj"; String str1 = new String("sfajdf"); String str2 = new String(); str2 = "sfaj"; char[... 阅读全文
posted @ 2015-10-24 10:38 菜包包 阅读(864) 评论(0) 推荐(0)
摘要:int[] arr = new int[] { 1, 24, 3, 4, 33, 14, 53, 82, 13 }; for(int i = arr.length - 1; i > 0; i--){ for(int j = 0; j arr[j + 1]){ int ... 阅读全文
posted @ 2015-10-23 19:39 菜包包 阅读(127) 评论(0) 推荐(0)
摘要:转发链接,嘿嘿http://simeon.blog.51cto.com/18680/58877 阅读全文
posted @ 2015-10-13 19:38 菜包包 阅读(102) 评论(0) 推荐(0)