05 2014 档案

摘要:1 public void test2(){2 String s = "a";3 if(s.charAt(0)==97)4 System.out.println("a");5 char c='b';6 if(c=... 阅读全文
posted @ 2014-05-29 08:53 一路向北中 阅读(763) 评论(0) 推荐(0)
摘要:1 @Test2 public void test(){3 System.out.println((char)97);//a4 System.out.println('\u0061');//a 61是16进制5 System.out.p... 阅读全文
posted @ 2014-05-27 23:02 一路向北中 阅读(195) 评论(0) 推荐(0)
摘要:byte char short int float double long boolean 阅读全文
posted @ 2014-05-26 20:03 一路向北中 阅读(149) 评论(0) 推荐(0)
摘要:JavaWeb: 报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build PathJSP页面顶端出现“红色”的报错信息:The superclass "javax.servlet.http... 阅读全文
posted @ 2014-05-18 20:15 一路向北中 阅读(415) 评论(0) 推荐(0)
摘要:1 public class ProperticesDemo { 2 @Test 3 public void test(){ 4 Properties pro = new Properties(); 5 try { 6 pro... 阅读全文
posted @ 2014-05-10 21:04 一路向北中 阅读(216) 评论(0) 推荐(0)
摘要:1 @Test 2 public void test1(){ 3 try { 4 Date d1 = new SimpleDateFormat("yyyyMMdd").parse("20140101"); 5 Date... 阅读全文
posted @ 2014-05-09 09:05 一路向北中 阅读(406) 评论(0) 推荐(0)