首页
题库
网课
在线模考
桌面端
登录
搜标题
搜题干
搜选项
0
/ 200字
搜索
单项选择题
从昼夜变化看,一般( )水温最高,它比气温、地温的出现时间要晚一些。早上日出前水温最低。
A.10:00-11:00
B.12:00-13:00
C.14:00-15:00
D.16:00-17:00
点击查看答案&解析
在线练习
手机看题
你可能感兴趣的试题
问答题
智慧树知到《Android移动应用开发基础》章节测试答案-3
答案:
C.Widgets
D.ViewGroup
正确答案:ViewGroup
13、布局文件的名称只...
点击查看答案&解析
手机看题
问答题
自定义异常,数值不能为负数。
public class NoScoreException extends RuntimeException {
public NoScoreException() {
super();
}
public NoScoreException(String message) {
super(message);
}
}
public class Student {
private String name;
private int score;
public Student() {
super();
}
public Student(String name,int score){
setName(name);
setScore(score);
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getScore() {
return score;
}
public void setScore(int score) {
// 判断,如果score为负数,就抛出NoScoreException,异常信息为:分数不能为负数:xxx.
if(score <0){
}
this.score = score;
}
}
答案:
throw new NoScoreException("分数不能为负数:"+score);
点击查看答案&解析
手机看题
微信扫码免费搜题