首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下列常见的系统定义的异常中,哪个是数组越界异常?
下列常见的系统定义的异常中,哪个是数组越界异常?
admin
2010-12-17
24
问题
下列常见的系统定义的异常中,哪个是数组越界异常?
选项
A、ArrayIndexOutOfBoundsException
B、IOException
C、NullPointerException
D、ArithmeticException
答案
A
解析
ArrayIndexOutOfBoundsException 为数组越界使用异常;IOException为输入输出错误;NullPointerException为引用为空异常;ArithmeticException为算术异常,如除数为0。
转载请注明原文地址:https://kaotiyun.com/show/nl9p777K
本试题收录于:
二级Java题库NCRE全国计算机二级分类
0
二级Java
NCRE全国计算机二级
相关试题推荐
程序流程图中带有箭头的线段表示的是
下面不属于软件设计阶段任务的是
数据库管理系统(DBMS)是一种
定义学生选修课程的关系模式:SC(S#,Sn,C#,Cn,G)(其属性分别为学号、姓名、课程号、课程名、成绩)则该关系的主键为
每个学校有一名校长,且不同学校的校长可以是同一人,则实体学校和实体校长间的联系是
下列数据流图(DFD)构造规则中正确的是
软件(程序)调试的任务是
下列程序的运行结果是>>>s=’PYTHON’>>>“{0:3}”.format(s)
编写程序,实现将列表ls=[23,45,78,87,11,67,89,13,243,56,67,311,431,111,141]中的素数去除,并输出去除素数后列表ls的元素个数。请结合程序整体框架,补充横线处代码。defis_prime(n):①#
在AWT事件中,可以使组件增加、移动的事件是______。
随机试题
反核活动家:关闭这座核电站是反核事业的胜利,它表明核工业部门很迟才肯承认他们不能安全运作核电站的事实。核电站经理:它并不表明这样的事实。从非核资源可以得到便宜的电力,再加上强制性的安全检查和安全维修,使继续经营这座核电站变得很不经济。因此,关闭这座核
PB9.0中,开发空间有三个层次:Workspace(工作空间)、Target(目标)和________。
折价发行债券,最终实际收益率票面收益率。()
最能证明心动过速起源于心室的心电图表现是
患者,男,14岁。2周前患急性咽炎。1天前突然牙龈出血,口腔血疱,双下肢瘀斑。实验室检查:血红蛋白110g/L,白细胞9×109/L,血小板10×109/L,骨髓增生活跃。应首先考虑诊断是
某企业以自产产品——电冰箱作为福利发放给200名职工。已知每台电冰箱的生产成本为2000元,售价为2500元,使用增值税税率为l7%。那么该公司应该确认的应付职工薪酬为( )元。
当事人采用仲裁方式解决纠纷,应当由双方自愿达成仲裁协议。()
乳牙牙髓切断术
能直接与CPU交换信息的存储器是()。
A、Workinanotherdepartment.B、Pursuefurthereducation.C、Recruitgraduatestudents.D、Takeanadministrativejob.B行动计划题。女士听说
最新回复
(
0
)