算法与数据结构Java工程师单选难度 3真题改编 · 2023
2130. 代码片段: import java.util.*;
//这里省略部分代码
HashMap props = new HashMap();
props.put("hello", "javaer");
props.put("welcome", "to java contest");
props.put("wish", "you have a good grade");
Set s = props.keySet();
//在这里插入代码
System.out.println(s);
插入哪一个选项里的代码能够使程序对props里的键进行排序并输出。
练习本题 ›
数据库Java工程师单选难度 3真题改编
2145. 假设有必修课成绩表course,每位学生的期末考试成绩以及补考成绩都录入到course表中,学号为20190001的同学想查询一下自己未通过的课程的课程编号与课程名称,那么下面正确的sql语句是 create table `course`(
`id` int(11) not null auto_increment,
`sid` int(11) not null comment '学号',
`cid` int(11) not null comment '课程编号',
`cname` char(50) not null comment '课程名称',
`score` int(11) not null comment '分数',
primary key(`id`)
)engine = innodb;
练习本题 ›