使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 0 / 0
随机练习 自定义设置练习量
题型乱序 按导入顺序练习
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
Public class test{
static int a[] = new int[10];
public static void main(String args[]) {
System.out.println(arr[10]); //数组下标越界
}
那个选项是正确的?
String str = null;
if ((str != null) & (str.length() > 10)) {
System.out.println("more than 10");
else if ((str != null) && (str.length() < 5)) {
System.out.println("less than 5");
else { System.out.println("end");
哪些行会导致错误?
class Aclass{
void go(){
System.out.println("Aclass");
public class Bclass extends Aclass{
System.out.println("Bclass");
public static void main(String args[]){
Aclass a1=new Aclass();
Aclass a2=new Bclass();
a1.go();
a2.go();
以上程序运行结果是: