上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 52 下一页
摘要: import java.util.ArrayList;import java.util.List;class A{ public boolean equals(Object obj){ return true; }} public class ListTest2 { public static vo 阅读全文
posted @ 2016-12-26 18:28 奋斗的少年WH 阅读(5243) 评论(0) 推荐(0)
摘要: A、char c = "a"; 不对,char只能是单引号 B、char c = '\''; 对,\'是转义字符,为'单引号 C、chae c='cafe'; 不对,只能是单个字符 D、char c="cafe"; 不对,由C知 E、char c='\ucafe'; 对,表示十六进制的一个数字,该数 阅读全文
posted @ 2016-12-26 18:11 奋斗的少年WH 阅读(2227) 评论(0) 推荐(0)
摘要: long l=88;这个表达式是正确的,因为long比int类型大,会发生自动转换 阅读全文
posted @ 2016-12-26 17:51 奋斗的少年WH 阅读(167) 评论(0) 推荐(0)
摘要: 计算机网络 注意:在配置环境变量时,classpath是为找文件服务的 阅读全文
posted @ 2016-12-26 17:47 奋斗的少年WH 阅读(501) 评论(0) 推荐(0)
摘要: 有的时候,类的同一种功能有多种实现方式,到底采用哪种实现方式,取决于调用者给定的参数。例如我们最常用的System.out.println()能够打印出任何数据类型的数据,它有多种实现方式。运行时,Java虚拟机先判断给定参数的类型,然后决定执行哪个println()方法(int char Stri 阅读全文
posted @ 2016-12-18 15:32 奋斗的少年WH 阅读(247) 评论(0) 推荐(0)
摘要: 在JSP页面中${pageContext.request.contextPath } 表示项目名在Java中String rot = request.getContextPath(); 表示项目名out.print("返回"); 阅读全文
posted @ 2016-12-15 20:14 奋斗的少年WH 阅读(240) 评论(0) 推荐(0)
摘要: //Id提交 function addfriend(obj){ document.getElementById(obj).submit(); } 阅读全文
posted @ 2016-12-15 14:57 奋斗的少年WH 阅读(821) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 6 111 7 222 8 333 9 44 10 55 11 66 12 77 13 14 15 16 17 18 111 19 111 20 111 21 111 22 111 23 111 24 111 25 2... 阅读全文
posted @ 2016-12-15 14:11 奋斗的少年WH 阅读(556) 评论(0) 推荐(0)
摘要: 查询出的数据记录字段要与实体类中的属性名一致 阅读全文
posted @ 2016-12-15 14:07 奋斗的少年WH 阅读(326) 评论(0) 推荐(0)
摘要: 查询查询一条记录 public UserBean findActiver(String ac) throws SQLException { QueryRunner qr = new QueryRunner(C3P0Util.getDataSource()); return qr.query("select * from users where active... 阅读全文
posted @ 2016-12-14 14:00 奋斗的少年WH 阅读(82) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 52 下一页