2018年6月7日

多线程基础知识第七篇:多线程笔试题

摘要: 1、用5个线程去卖火车票,一共5000张,卖完即止。 用线程池的写法:向线程池提交5000个任务 public class Test { public static void main(String[] args) throws InterruptedException { int total = 阅读全文

posted @ 2018-06-07 21:03 koushr 阅读(598) 评论(0) 推荐(0) 编辑

sql笔试题

摘要: 题目一、表t_score,数据如下 name subject score 张三 语文 81 张三 数学 75 李四 语文 76 李四 数学 90 王五 语文 81 王五 数学 100 王五 英语 90 对应ddl及dml语句如下: CREATE TABLE `t_score` ( `id` int 阅读全文

posted @ 2018-06-07 16:54 koushr 阅读(173) 评论(0) 推荐(0) 编辑

导航