摘要: List是一个接口,是Collection接口的子接口。 ArrayList是List的一个实现类,实现数组的增、删操作。 List包含ArrayList,是它的父类。 声明ArrayList<String> list=new ArrayList<String>()与List<String> lis 阅读全文
posted @ 2019-03-01 21:05 ~释然、 阅读(1272) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.csdn.net/huangbiao86/article/details/6428608 idea已经配置好与数据库的连接方式但是运行jsp网页仍无法连接数据库 确认包已经被导入web工程目录,但是任然运行错误——java.lang.ClassNotFoundExc 阅读全文
posted @ 2019-02-27 22:59 ~释然、 阅读(1369) 评论(0) 推荐(0) 编辑
摘要: student表 teacher 表 course 表 score 表 查询student中所有记录 查询student表中所有记录中的sname、ssex、class列 查询教师所有单位不重复的depart列 distinct排除重复列。 查询score表中成绩在60到80之间的所有记录。 bet 阅读全文
posted @ 2019-02-16 11:58 ~释然、 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1进入Mysq mysql -u root -p 2创建数据库 create database test; 3 选中数据库 use test; 4显示数据表 show tables; 5创建数据表 create table pet( name varchar(20),owner varchar(20 阅读全文
posted @ 2019-02-14 19:59 ~释然、 阅读(176) 评论(0) 推荐(0) 编辑