使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 0 / 0
随机练习 自定义设置练习量
题型乱序 按导入顺序练习
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
在异常处理时,将可能发生异常的代码放在()语句块中,后面紧跟着一个或多个()语句 块,还可以再跟零个或一个()语句块。(1.0)
字节码文件经过Java编译器翻译成一种特殊的二进制文件,由JVM负责解释执行。该二进 制文件扩展名为()(1.0)
class____________{
int x;
int get(){returnx;}
ABC(inti){x=i;}
voidshow(){System.out.println(x);}
}(1.0)
1.public class ABC(
2. public int max( int a, int b) { }
3.
4.}
将以下哪个方法插入行3是不合法的。()(1.0)
public class Demo {
public static void main(String args[]) {
booleanflag = 10%2 == 1 && 10 / 3 == 0 && 1 / ==0;
System.out.println(flag ? "mldn" :"yootk") ;
}
最终执行结果是什么( )(1.0)
下列代码的输出是()。
{
double[] myList={1,5,5,5,5,1};
double max=myList[0];
int indexOfMax=0;
for(int i=1;i<myList.length;i++){
if (myList[i]>=max){
max=myList[i];
indexOfMax=i;
System.out.println(indexOfMax);
importjava.util.ArrayList;
importjava.util.List;
publicclassTest{
publicstaticvoidmain(Stringargs[]){
Listlist=newArrayList();
list.add(newTest());
list.add(newString(""ABC""));
System.out.println(list.size());