试题详情
- 单项选择题 Given a method that must ensure that its parameter is not null: What, inserted at line 12, is the appropriate way to handle a null value?()
A、assert value == null;
B、assert value != null, "value is null";
C、if (value == null) { throw new AssertionException("value is null"); }
D、if (value == null) { throw new IllegalArgumentException("value is null"); }
- D
关注下方微信公众号,在线模考后查看
热门试题
- If you i
- You want
- 当ORACLE9.2数据库服务器安装后,
- TheEMPLOYEEStablehas
- You want
- Which statement desc
- A programmer has an
- 假定已经定义了一个名为arr_type的
- 在Oracle中,下面哪条语句当COMM
- You noticed
- Which hardware stora
- Given Which tw
- In an Or
- What is true about j
- 下列哪个进程用于将修改过的数据从内存保存
- oracle服务器包括哪两个部分?各个部
- Examinethedescriptio
- Which of the followi
- Oracle的数据操纵包括()。
- 进程监视进程(PMON)的作用是什么?