上一页 1 ··· 11 12 13 14 15
摘要: 1.可变与不可变 String类中使用字符数组保存字符串,如下就是,因为有“final”修饰符,所以可以知道string对象是不可变的。 private final char value[]; StringBuilder与StringBuffer都继承自AbstractStringBuilder类, 阅读全文
posted @ 2018-11-07 21:31 image_erfsfj 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 方法1: 查出科目成绩有小于80分的学生姓名,再约束并去重学生不等于查出来的姓名 select distinct A.name from t_score A where A.name not in(select distinct B.name from t_score B where B.fensh 阅读全文
posted @ 2018-11-07 21:28 image_erfsfj 阅读(4320) 评论(0) 推荐(0) 编辑
摘要: public static String zipString(String str){ String result = "";//用于拼接新串的变量 char last = str.charAt(0);//用于获取下一个单个字符 int length = str.length();//获取字符串长度 阅读全文
posted @ 2018-11-07 21:18 image_erfsfj 阅读(758) 评论(0) 推荐(0) 编辑
摘要: 内置对象名 类型 request HttpServletRequest response HttpServletResponse config ServletConfig application ServletContext session HttpSession exception Throwab 阅读全文
posted @ 2018-11-07 20:55 image_erfsfj 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 基本语句 增加一条数据 insert into table (列字段1,列字段2)values(列1值,列2值) 批量增加 insert into table (列字段1,列字段2)values(列1值,列2值),(列1值,列2值)... 删除一条数据 delete from table where 阅读全文
posted @ 2018-11-07 20:38 image_erfsfj 阅读(154) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15