当前位置:OCJP(310-065)题库

问题:

[多选] Which two code fragments correctly create and initialize a static array of int elements?()

A . static final int[] a = { 100,200 };
B . static final int[] a; static { a=new int[2]; a[0]=100; a[1]=200; }
C . static final int[] a = new int[2]{ 100,200 };
D . static final int[] a; static void init() { a = new int[3]; a[0]=100; a[1]=200; }

The CALC function is used several times within the sales report. To simplify maintenance you want to store the function in one place and call it from within your PL/SQL trigger code. Which node would you use in object navigator to create a report level programme unit to store the function?() Programme units. 。 PL/SQL libraries. 。 Database object. 。 Built in packages.。 What is the result?() The value "4" is printed at the command line.。 Compilation fails because of an error in line 5.。 Compilation fails because of an error in line 9.。 A NullPointerException occurs at runtime.。 A NumberFormatException occurs at runtime.。 An IllegalStateException occurs at runtime.。 In which two cases would you perform only consistent backup?() You are working on a database where downtime is not tolerated.。 You are working on a database where downtime can be tolerated.。 You are working on a database that operates in ARCHIVELOG mode.。 You are working on a database that operates in NOARCHIVELOG mode.。 You are working on a database where all the tablespaces are locally managed.。 You are working on a database where control files and redo log files are multiplexed.。 You are working on a database where control files and redo log files are not multiplexed.。 本程序设计界面及运行界面如下: 程序功能是:用户输入一个3位正整数后,按“确定”键,该数字的个位、十位、百位数字分别显示在输出框中。如果输入的数据不在规定范围之内,程序要给出错误提示。  请编写单击“确定”按钮的事件处理程序。 齿轮泵的主体结构主要是由()、()、()、()等组成。 Which two code fragments correctly create and initialize a static array of int elements?()
参考答案:

  参考解析

本题暂无解析

在线 客服