题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-10-21 19:01:30

[单项选择] int i = 0;  for (; 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.

更多"int&ensp;i&ensp;=&ensp;0;&ensp; 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

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码