当前位置:SCJP程序员认证考试题库

问题:

[单选]

What is the result?()

A . The value "4" is printed at the command line.
B . Compilation fails because of an error in line 5.
C . Compilation fails because of an error in line 9.
D . A NullPointerException occurs at runtime.
E . A NumberFormatException occurs at runtime.
F . An IllegalStateException occurs at runtime.

You created a tabular report for the sales department to display each customer and the sales person assign to the customer. The data is sorted by customer using the order by clause in this query. This is department manager asks you to alter the report so that data is sorted by sales person rather than by customer. What is the best way to make the needed change?() Recreate the query and default the layout. 。 Alter the query, default the layout and redo the boiler plates. 。 Query and manually change the layout to save the boiler plate. 。 Alter the query and make no further change.。 某写字楼工程,地下1层,地上10层,现浇钢筋混凝土框架结构。建设单位与某施工总承包单位签订了施工总承包合同。合同约定。电梯安装工程由建设单位指定分包。 施工过程中,发生了如下事件: 事件一:在主体结构施工前,与主体结构施工密切相关的某国家标准发生重大修改并开始实施,现场监理机构要求修改施工组织设计,重新审批后才能组织实施。 事件二:当主体结构已基本完成时,施工企业根据工程实际情况,调整了装修施工组织设计文件,编制了装饰工程施工进度网络计划,经总监理工程师审核批准后组织实施(如下图)。 工作E原计划6日,由于设计变更改变了主要材料规格与材质,经总监理工程师批准,E工作计划改为9日完成,其他工作与时间执行网络计划。 事件三:办公楼电梯安装工程早于装饰装修工程施工完,提前由总监理工程师组织验收,总承包单位未参加。验收后电梯安装单位将电梯工程有关资料移交给建设单位。整体工程完成时,电梯安装单位已撤场。由建设单位组织,监理、设计、总承包单位参与进行了单位工程质量验收。 事件二中,先指出本装饰工程网络计划的关键线路(工作),计算计划工期。工作E完成时间更改后,再次指出本装饰工程实际关键线路(工作),并计算实际工期。 You created an encrypted tablespace: You then closed the encryption wallet because you were advised that this is secure. Later in the day, you attempt to create the EMPLOYEES table in the SECURESPACE tablespace with the SALT option on the EMPLOYEE column. Which is true about the result?() It creates the table successfully but does not encrypt any inserted data in the EMPNAME column because the wallet must be opened to encrypt columns with SALT.。 It generates an error when creating the table because the wallet is closed.。 It creates the table successfully, and encrypts any inserted data in the EMPNAME column because the wallet needs to be open only for tablespace creation.。 It generates error when creating the table, because the salt option cannot be used with encrypted tablespaces.。 公开市场原则 Which two code fragments correctly create and initialize a static array of int elements?() static final int[] a = { 100,200 };。 static final int[] a; static { a=new int[2]; a[0]=100; a[1]=200; }。 static final int[] a = new int[2]{ 100,200 };。 static final int[] a; static void init() { a = new int[3]; a[0]=100; a[1]=200; }。

What is the result?()

参考答案:

  参考解析

本题暂无解析

相关题目:

在线 客服