多选题Given:
2. class Animal { }
3. class Dog extends Animal { }
4. class Cat extends Animal { }
5. public class Mixer<A extends Animal> {
6. public <C extends Cat> Mixer<? super Dog> useMe(A a, C c) {
7. //Insert Code Here
8. } }
Which, inserted independently at line 7, compile? (Choose all that apply.)
多选题Given:
1. public class Grids {
2. public static void main(String[] args)
3. int [] [] ia2;
4. int [] ia1 = {1,2,3};
5. Object o = ia1;
6. ia2 = new int[3] [3] ;
7. ia2[0] = (int[])o;
8. ia2[0] [0] = (int[])o;
9. } }
What is the result? (Choose all that apply.)
多选题当导出或导入数据库的工作负载,而该数据库是多租户整合的候选时,以下哪些步骤是可选的?
多选题Given:
2. public class Juggler extends Thread {
3. public static void main(String[] args) {
4. try {
5. Thread t = new Thread(new Juggler());
6. Thread t2 = new Thread(new Juggler());
7. } catch (Exception e) {System.out.print("e "); }
8. }
9. public void run() {
10. for(int i = 0; i < 2; i++) {
11. try {Thread.sleep(500); }
12. catch(Exception e) {System.out.print("e2 "); }
13. System.out.print(Thread.currentThread() .getName() + " ");
14. } } }
Which are true? (Choose all that apply.)
多选题假如通过使用如下的DDL语句创建了一个新用户——dog: CREATE USER dog IDENTIFIED BY wangwang; dog用户创建之后,并没有授予这个用户任何权限。现在dog用户需要在其默认表空间中创建一个表,请问至少必须授予他哪3个系统权限? A.CREAT EVIEW B.CREATE TABLE C.CREATE SESSION D.SELECT ANY TABLE E.UNLIMITED TABLESPACE
多选题如果指定了初始化参数DB_RECOVERY_FILE_DEST,那么还必须设置其他哪些初始化参数?
多选题如果禁用RMAN保留策略,那么会将RMAN备份细节保留多长时间?
多选题Given:
3. class Holder {
4. enum Gas {ARGON, HELIUM };
5. }
6. public class Basket extends Holder {
7. public static void main(String[] args) {
8. short s = 7; long 1 = 9L; float f = 4.0f;
9. int i = 3; char c = "c"; byte b = 5;
10. // insert code here
11. default: System.out.println("howdy");
12. } } }
Which line(s) of code (if any), inserted independently at line 10, will compile? (Choose all that apply.)
多选题以下是表INVENTORY中的内容:如果使用如下的SQL语句查询这个库存(INVENTORY)表,哪一个值会第一个显示?SELECTid_numberFROMinventoryWHEREpriceBETWEEN5.00AND15.00ORDERBYdescription,manufacturer_id;A.25023B.25026C.32096D.45025
多选题如果使用Oracle Managed Files (OMF),可以定义哪三种类型的文件? A.数据文件(data files) B.控制文件(control files) C.口令文件(password files) D.重做日志文件(redo log files) E.参数文件(parameter files) F.归档日志文件(archived redo log files)
多选题DESC[RIBE]命令会显示以下值的哪几个?
多选题把非CDB插入到现有容器的一个新PDB中,该非CDB有几个资源计划。下面哪些条件使导入的资源计划无效?
多选题请看一个SQL语句: ALTER USER jinlian DEFAULTROLE ALL; 以上这个DDL语句将完成下面的哪一项工作? A.赋予jinlian用户All这个角色 B.将所有的角色都设置成jinlian用户的默认角色 C.移除jinlian用户的所有默认角色 D.没有完成任何工作,因为这个命令将不会被执行
多选题Given that the current directory is bigApp, and the following directory structure:
bigApp
|-- classes
|-- com
|-- wickedlysmart
|-- BigAppMain.class
And the code:
package com.wickedlysmart;
public class BigAppMain {
public static void main(String[] args) {
System. out.println("big app");
}
}
Which will invoke BigAppMain? (Choose all that apply.)
多选题Given:
3. class One {
4. void go1() {System.out.print("1 "); }
5. final void go2() {System.out.print("2 "); }
6. private void go3() {System.out.print("3 ");
7. }
8. public class OneB extends One {
9. void go1() {System.out.print("ib "); }
10. void go3() {System.out.print("3b "); }
11.
12. public static void main(String[] args)
13. new OneB().go1();
14. new One().go1();
15. new OneB().go2();
16. new OneB().go3();
17. new One().go3();
18. } }
What is the result?
多选题可以使用以下哪些方法来检索当前的系统更改号(SCN)?
多选题Given:
2. public class Boggy {
3. final static int mine = 7;
4. final static Integer i = 57;
5. public static void main(String[] args) {
6. int x : go(mine);
7. System.out.print(mine + " " + x + " ");
8. x += mine;
9. Integer i2 = i;
10. i2 = go(i);
11. System.out.println(x + " " + i2);
12. i2 = new Integer(60);
13. }
14. static int go(int x) {return ++x; }
15. }
What is the result?
多选题Given:
1. public class Twine {
2. public static void main (String[] args) {
3. String s="";
4. StringBuffer sb1=new StringBuffer("hi");
5. StringBuffer sb2=new StringBuffer("hi");
6. StringBuffer sb3=new StringBuffer(sb2);
7. StringBuffer sb4=sb3;
8. if(sb1.equals(sb2)) s += "1 ";
9. if(sb2.equals(sb3)) s += "2 ";
10. if(sb3.equals(sb4)) s += "3 ";
11. String s2="hi";
12. String s3="hi";
13. String s4=s3;
14. if(s2.equals(s3)) s += "4 ";
15. if(s3.equals(s4)) s += "5 ";
16. System.out.println(s);
17. }
18. }
What is the result?
多选题请看如下创建索引的DDL语句: CREATE INDEX hr.employee_last_name_idx ON dog.employee (last_name) PCTFREE 25 STORAGE (INITIAL 200K NEXT 200K) PCTCREASE 0 MAXEXTENTS 35) TABLESPACE indx; 请问,这个创建索引的DDL语句将创建哪一种类型的索引? A.位图索引 B.唯一索引 C.正常B-树索引 D.分区索引
多选题Your company makes compute-intensive, 3D rendering software for the movie industry. Your chief scientist has just discovered a new algorithm for several key methods in a commonly used utility class. The new algorithm will decrease processing time by 15 percent, without having to change any method signatures. After you change these key methods, and in the course of rigorous system testing, you discover that the changes have introduced no new bugs into the software.
In terms of your software"s overall design, which are probably true? (Choose all that apply.)