多选题Given the following directory structure:
test -|
|- Finder.class
|- testdir -|
|- subdir
|- subdir2
|- testfile.txt
If test, testdir, subdir, and subdir2 are all directories, and Finder.class and testfile.txt are files, and given:
import java.io.*;
public class Finder {
public static void main(String[] args) throws IOException {
String[] files = new String[100];
File dir = new File(args[0]);
files = dir.list();
System. out.println (files.length);
} }
And, if the code compiles, the invocation:
java Finder testdir
What is the result?
多选题Given:
3. public class Ice {
4. Long[] stockings = {new Long(3L), new Long(4L), new Long(5L)};
5. static int count = 0;
6. public static void main(String[] args) {
7. new Ice() .go();
8. System. out. println (count);
9. }
10. void go() {
11. for(short x = 0; x < 5; x++) {
12. if(x == 2) return;
13. for(long ell: stockings) {
14. count++;
15. if(ell == 4) break;
16. } } } }
What is the result? (Choose all that apply.)
多选题Given:
1. public class Begin {
2. static int x;
3. {int[] ia2 = {4,5,6};
4. static {
5. int[] ia = {1,2,3};
6. for(int i = 0; i < 3; i++)
7. System.out.print(ia[i] + " ");
8. x= 7;
9. System.out.print(x + " ");
10. } }
And, if the code compiles, the invocation:
java Begin
What is the result?
多选题下面的哪些条目会永久存储在快速恢复区中?
多选题Given:
2. import java.util.*;
3. public class Volleyball {
4. public static void main(String[] args) {
5. TreeSet<String> s = new TreeSet<String>();
6. s.add("a"); s.add("f"); s.add("b");
7. System.out.print(s + " ");
8. Collections.reverse(s);
9. System.out.println(s);
10. } }
What is the result?
多选题下面哪些命令不会备份当前控制文件?
多选题在最小化磁盘竞争的情况下,哪一种段可以加快数据的搜索速度? A.表 B.索引 C.还原段 D.临时段
多选题Given:
1. enum MyEnum {HI, ALOHA, HOWDY};
2. public class PassEnum {
3. public static void main(String[] args) {
4. PassEnum p = new PassEnum();
5. MyEnum[] v = MyEnum.values();
6. v = MyEnum.getValues();
7. for(MyEnum me: MyEnum.values()) p.getEnum(me);
8. for(int x = 0; x<MyEnum.values().length; x++) p.getEnum(v[x]);
9. for(int x = 0; x < MyEnum.length; x++) p.getEnum(v[x]);
10. for(MyEnum me: v) p.getEnum(me);
11. }
12. public void getEnum(MyEnum e) {
13. System.out.print(e + " ");
14. } }
Which line(s) of code will cause a compiler error? (Choose all that apply.)
多选题使用如下的CREATE SEOUENCE语句创建一个序列:
CREATE SEQUENCE line_item_id_seq
START WITH 10001
MAXVALUE 999999999
NOCYCLE;
基于以上这个CREATE SEOUENCE语句,以下的哪个陈述是正确的?
多选题使用以下RMAN脚本实现增量更新备份策略:
run{
recover copy of database
with tag "inc_upd";
backup incremental level 1
for recover of copy
with tag "inc_upd"
database;
}
在使用增量级别1备份更新映像副本前,需要将此脚本运行几次?
多选题BACKUP命令的FORMAT子句的默认替换变量是什么?
多选题可以查询以下哪两个动态性能视图以显示控制文件的名称和位置? A.V$SESSION B.V$INSTANCE C.V$PARAMETER D.V$CONTROLFILE E.V$CONTROLFILE_RECORD_SECTION
多选题Given:
1. class GardenTool {
2. static String s = "";
3. String name = "Tool ";
4. GardenTooi(String arg) {this(); s += name;
5. GardenTool() {s += "gt "; }
6. }
7. public class Rake extends GardenTool {
8. {name = "Rake "; }
9. Rake(String arg) {s += name; }
10. public static void main(String[] args) {
11. new GardenTool("hey ");
12. new Rake("hi ");
13. System.out.println(s);
14. }
15. {name = "myRake "; }
16. }
What is the result?
多选题Oracle Database 12c Data Pump导出/导入在多租户环境中支持以下哪些操作?
多选题为容器CDB01执行以下命令:
SQL>shutdown immediate;
SQL>startup mount;
SQL>alter database open;
CDB和其PDB的状态是什么?
多选题在以下的用户中,哪一个用户不能删除? A.一个(与数据库)连接的用户 B.一个没有任何模式对象的用户 C.一个带有只读表的用户 D.在任何时间可以删除所有的用户
多选题假设正在管理一个概要文件的口令设置。如果要确保一个用户在更改三次密码之前不能重新使用当前的密码,请问要使用以下的哪一个参数? A.PASSWORD_LIFE_TIME B.PASSWORD_REUSE_MAX C.PASSWORD_REUSE_TIME D.PASSWORD_GRACE_TIME E.PASSWORD_VERIFY_FUNCTION
多选题Given:
3. class Tire {
4. private static int x = 6;
5. public static class Wheel {
6. void go() {System.out.print("roll " + x++); }
7. } }
8. public class Car {
9. public static void main(String[] args) {
10. // insert code here
11. } }
And the three code fragments:
Ⅰ. new Tire.Wheel().go();
Ⅱ. Tire t = new Tire(); t.Wheel().go();
Ⅲ. Tire.Wheel w = new Tire.Wheel(); w.go();
Assuming we insert a single fragment at line 10, which are true? (Choose all that apply.)
多选题Oracle服务器将在以下哪两种约束上自动创建唯一索引? A.CHECK B.UNIQUE C.NOT NULL D.PRIMARY KEY E.FOREIGN KEY
多选题以下哪个操作符最适用于单行子查询? A.= B.IN C.LIKE D.BETWEEN
