多选题Given the current directory is bigApp, and the directory structure:
bigApp
|-- classes
|-- Cloned. class
And the file:
public class Cloned {
public static void main(String[] args) {
System.out.println ("classes");
assert(Integer.parseInt(args[0]) > 0);
} }
Which will produce the output "classes" followed by an AssertionError? (Choose all that apply.)
多选题Given:
2. public class LaoTzu extends Philosopher
3. public static void main(String[] args)
4. new LaoTzu();
5. new LaoTzu("Tigger");
6. }
7. LaoTzu() {this("Pooh"); }
8. LaoTzu(String s) {super(s); }
9. }
10. class Philosopher {
11. Philosopher(String s) {System.out.print(s + " "); }
12. }
What is the result?
多选题CDB中最少和最多可以存在多少个临时表空间?
多选题Given:
1. class One {
2. int x = 0;
3. {assert x == i; }
4. }
5. public class Two {
6. public static void main(String[] args) {
7. int y = 0;
8. assert y == 0;
9. if(args.length > 0)
10. new One();
11. }
12. }
Which of the following will mn without error? (Choose all that apply.)
多选题Given the design implied by this partially implemented class:
2. public class RobotDog {
3. int size;
4. void bark() { /* do barking */ }
5. int getSize() {return size; }
6. {size = 16; }
7. int getNetworkPrinterID() {
8. /* do lookup */
9. return 37;
10. }
11. voidprintRobotDogStuff(intprinterID) { /*print RobotDog stuff*/ }
12. }
Which are true? (Choose all that apply.)
多选题在以下有关更改一个视图结构的语句中,哪一个是正确的? A.可以使用ALTER VIEW语句来更改一个视图 B.最快捷的更改一个视图的方法是替代原有的视图 C.更改一个视图的方法需要几步,要删除原有的视图并重新创建这个视图 D.不能更改一个视图的结构
多选题小文件表空间USERS的一个数据文件的大小是90MB,请运行以下RMAN命令:
RMAN>backup tablespace users section size 40m;
此备份创建多少个段?
多选题下列脚本(SQL语句)中哪个会将23-MAY-00显示为01-JAN-00?
多选题已经创建了一个名为dog_project的角色并授予了一组系统和对象权限。将这一角色赋予了一组用户,现在这些用户需要在数据库中执行一些额外的工作,因此需要赋予这些用户更多的权限。请问,在以下有关的陈述中,哪两个是正确的? A.被授予这个角色的那些角色将获取这组新的权限 B.赋予这个角色的那些用户将立即获取这组新的权限 C.在将来赋予这个角色的那些用户将获取这组新的权限 D.赋予这个角色的那些用户将在他们的下一次会话中获取这组新的权限 E.这些用户将需要禁止这个角色并重新创建它以得到这组新的权限
多选题学生(STUDENT)表包括了如下的列定义: ID NUMBER(9) PK LAST_NAME VARCHAR2(25) FIRST_NAME VARCHAR2(25) SUBJECT_ID NUMBER(9) 比较以下的两个SQL语句,其结果将有哪些不同? (1)SELECT DISTINCT subject_id, last_name, first_name FROM student ORDER BY 1; (2)SELECT id, last_name, first_name, subject_id FROM student ORDER BY subject_id; A.第一个语句的结果将以字母顺序排序,而第二个语句则不是 B.第一个语句将限制重复的subject_id,而第二个语句则不是 C.第二个语句将从输出结果中去掉重复行,而第一个语句则不能 D.第一和第二个语句将显示学生(STUDENT)表中一些值的不同组合
多选题可以在闪回表操作的AS OF子句中使用哪些方法指定要将表恢复到的过去的时间点?
多选题使用如下的SQL语句查询数据库: SELECT CONCAT (UPPER (SUBSTR (location, 1, 3) ), dept_number) "Department Location" FROM department; 最后一个求值的函数是哪一个? A.UPPER B.CONCAT C.SUBSTR
多选题以下的查询语句中哪一个表示相等连接?
多选题Given:
2. class Bird {
3. public static String s = "";
4. public static void fly() {s += "fly "; }
5. }
6. public class Hummingbird extends Bird {
7. public static void fly() {s += "hover "; }
8. public static void main(String[] args) {
9. Bird b1 = new Bird();
10. Bird b2 = new Hummingbird();
11. Bird b3 = (Hummingbird)b2;
12. Hummingbird b4 = (Hummingbird)b2;
13.
14. b1.fly(); b2.fly(); b3.fly(); b4.fly();
15. System.out.println(s);
16. } }
What is the result?
多选题用户正在为其实例估计所需的还原空间的量,在如下的数据字典中,哪一个对其最有帮助? A.V$UNDOSTAT B.V$ROLLSTAT C.DBA_UNDO_EXTENTS D.DBA_ROLLBACK_SEGMENTS
多选题以下是产品(PRODUCT)表和供应商(SUPPLIER)表的结构:
PRODUCT
-----------
PRODUCT_ID NUMBER
PRODUCT_NAME VARCHAR2(25)
SUPPLIER_ID NUMBER
CATEGORY_ID NUMBER
QTY_PER_UNIT NUMBER
UNIT_PRICE NUMBER(7, 2)
QTY_IN_STOCK NUMBER
QTY_ON_ORDER NUMBER
REORDER_LEVEL NUMBER
SUPPLIER
------------
SUPPLIER_ID NUMBER
SUPPLIER_NAME VARCHAR2(25)
ADDRESS VARCHAR2(30)
CITY VARCHAR2(25)
REGION VARCHAR2(10)
POSTAL_CODE VARCHAR2(11)
要求创建一个查询,这个查询将以字母顺序返回产品的清单,其中包括了每个产品的供应商。要求只有在产品表中有供应商的那些产品才可以包括在清单(报告)中。请问使用以下的哪两个查询能完成此项查询?
多选题下面哪个是影响RMAN备份和恢复操作的瓶颈?
多选题Given the following two files containing Light.java and Dark.java:
2. package ec.ram;
3. public class Light{}
4. class Burn{}
2. package ec.ram;
3. public class Dark{}
4. class Melt{}
And if those two files are located in the following directory structure:
$ROOT
|-- Light.java
|-- Dark.java
|-- checker
|-- dira
|-- dirb
And the following commands are executed, in order, from the ROOT directory:
javac Light.java -cp checker/dira -d checker/dirb
javac Dark.java -cp checker/dirb -d checker/dira
jar -cf checker/dira/a.jar checker
A new JAR file is created after executing the above commands. Which of the following files will exist inside that JAR file? (Choose all that apply.)
多选题请看下面的SQL语句,该语句将完成所列出的哪个操作?
ALTER TABLE inventory
DISABLE CONSTRAINT inventory_id_number_pk CASCADE;
多选题见下表SERVICE,如果使用如下的查询语句,第一个显示的是哪一个值?SELECTmachine_idFROMserviceORDERBYtechnician_id,service_date;