国开在线答案
-
2022-09-12
[单选] public class StackTest {
public static void main(String[] args) {
Stack<Integer> st = new Stack<Integer>();
st.push(new Integer(11));
st.push(new Integer(22));
st.push(new Integer(33));
System.out.println("size is-> "+st.size());
System.out.println("Top is-> "+st.peek());
st.pop();
System.out.println("new Top is-> "+st.peek());
}
}
-
2022-09-12
[单选] 有关List说法错误的是( )
-
2022-09-12
[单选] class ABC {
int a,b;
public ABC(int a, int b) {this.a=a; this.b=b;}
public int compareTo(ABC x) {return a*b-x.a*x.b;}
}
public class XXK5 {
public static void main(String[] args) {
int [][]d={{3,8},{4,6},{5,6},{2,9},{6,7},{5,8}};
ABC []ar=new ABC[d.length];
int i,k=0;
for(i=0; i<ar.length; i++)
ar[i]=new ABC(d[i][0],d[i][1]);
for(i=1; i<ar.length; i++)
if(ar[i].compareTo(ar[k])>0) k=i;
System.out.println("k="+k);
}
}
-
2022-09-12
[单选] 下面的异常( )为数组下标越界异常。
-
2022-09-12
[单选] 在Java语言中,捕获和处理异常的语句块为( )。
-
2022-09-12
[判断] 危险品运输车辆维修企业,必须具备一类汽车维修(大型货车维修)的经营资质条件。
-
2022-09-12
[单选] 简述一般常见的汽车维修企业(不含销售汽车的企业)组成部门有哪些?
-
2022-09-12
[单选] 按《汽车维修业开业条件》(GB/T16739)的规定,将汽车维修企业分为:(下面所列的①②③④个选项,至少有2项是正确的。点击你认为正确的选项组合)①汽车维护企业②汽车整车维修企业③汽车综合小修业户④汽车专项维修业户
-
2022-09-12
[判断] 连锁经营模式有直营连锁和特许连锁经营。
-
2022-09-12
[单选] 汽车维修企业中的发动机专修业户其主要的经营项目为
- 首页
- 上一页
-
6855
-
6856
-
6857
-
6858
-
6859
-
6860
-
6861
-
6862
- 下一页
- 尾页