更多"int i = 0;  for"的相关试题:
[多项选择] Given: Integer i = new Integer (42); Long l = new Long (42); Double d = new Double (42.0); Which two expression evaluate to true?()
A. (i = = l)
B. (i = = d)
C. (d = = l)
D. (i.equals(d))
E. (i.equals(i))
F. (i.equals(42))
[单项选择] for (int i =0; i < 4; i +=2) { System.out.print(i + “”); } System.out.println(i); What is the result?()
A. 0 2 4
B. 0 2 4 5
C. 0 1 2 3 4
D. Compilation fails.
E. An exception is thrown at runtime.
[单项选择] 循环语句: for ( i=1; i<=10; i++) { duplicateMovieClip(“ba”, “ba” + i ,i) ; eavl(“ba” + i ). _x=10*i } 该语句完成的功能是()。
A. 将实例ba为母体复制10个,同时这些复制出来的实例每间隔1个像素,水平排列在舞台上
B. 将实例ba为母体复制10个,同时这些复制出来的实例每间隔10个像素,水平排列在舞台上
C. 将实例ba为母体复制10个,同时这些复制出来的实例每间隔1个像素,垂直排列在舞台上
D. 将实例ba为母体复制10个,同时这些复制出来的实例每间隔10个像素,垂直排列在舞台上
[单项选择] 现有: interface I { void go(); } abstract class A implements I { } class C extends A { void go(){ } } 结果是什么?()
A. 代码通过编译
B. 由于第1行的错误导致编译失败
C. 由于笫3行的错误导致编译失败
D. 由于第6行的错误导致编译失败
[多项选择] int I=1, j=0 switch(i) { case 2: j+=6; case 4: j+=1; default: j +=2; case 0: j +=4; } What is the value of j at line 16?()
A. 0
B. 1
C. 2
D. 4
E. 6
[多项选择] Integer i = new Integer (42); Long 1 = new Long (42); Double d = new Double (42.0); Which two expressions evaluate to True? ()
A. (i ==1)
B. (i == d)
C. (d == 1)
D. (i.equals (d))
E. (d.equals (i))
F. (i.equals (42))
[单项选择] You are managing an ASM instance. You previously issued the following statements: ALTER DISKGROUP dg1 DROP DISK disk2; ALTER DISKGROUP dg1 DROP DISK disk3; ALTER DISKGROUP dg1 DROP DISK disk5; You want to cancel the disk drops that are pending for the DG1 disk group. Which statement should you issue?()
A. ALTER DISKGROUP dg1 UNDROP disk2,disk3,disk5
B. ALTER DISKGROUP dg1 UNDROP
C. ALTER DISKGROUP dg1 UNDROP DISKS
D. You cannot cancel the pending disk drops
[单项选择] A customer with a small IT budget has one data center. Their main application is a database running on an IBM System Storage DS8000. The database has a data change rate of 50% per day. Once a week, they must do a point-in-time backup from the database to tape. The time it takes to run the backup now exceeds the backup window allowed. The customer requests a proposal to reduce database downtime caused by running backups, with nearly zero impact to production volumes. In addition to the tape backup, which DS8000 feature should a technical specialist propose()
A. FlashCopy
B. FlashCopy SE
C. Metro Mirror
D. Global Mirror
[多项选择] A constraint in a table is defined with the INITIALLY IMMEDIATE clause. You executed the ALTER TABLEcommand with the ENABLE VALIDATE option to enable the constraint that was disabled. What are the twoeffects of this command()
A. It fails if any existing row violates the constraint.
B. It does not validate the existing data in the table.
C. It enables the constraint to be enforced at the end of each transaction.
D. It prevents insert, update, and delete operations on the table while the constraint is in the process of beingenabled
[单项选择] You are designing a WAN implementation strategy to meet the business and technical requirements. What should you do? ()
A. Configure a demand-dial router.
B. Create multiple Active Directory site links.
C. Configure a VPN connection between each branch office.
D. Install an Internet Authentication Service (IAS) server in each branch office.
[多项选择] You are designing a DNS implementation strategy for the network. Which two zone types should you use?()
A. Reverse lookup zones
B. Standard primary zones
C. Standard secondary zones
D. Active Directory-integrated zones
[单项选择] try { int x = 0; int y = 5 / x; } catch (Exception e) { System.out.println(“Exception”); } catch (ArithmeticException ae) { System.out.println(“Arithmetic Exception”); } System.out.println(“finished”); What is the result?()
A. finished
B. Exception
C. Compilation fails.
D. Arithmetic Exception
[单项选择] int i = 1,j = 10; do{ if (i>j) { continue; } j--; } while (++i <6); System.out.println(“i = “ +i+” and j = “+j); What is the result?()
A. i = 6 and j = 5
B. i = 5 and j = 5
C. i = 6 and j = 4
D. i = 5 and j = 6
E. i = 6 and j = 6