Which expressions are correct to declare an array of 10 Stri

题目
单选题
Which expressions are correct to declare an array of 10 String objects? ()
A

 char str[];

B

 char str[][];

C

 String str[];

D

 String str[10];

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

在Visual FoxPro中说明数组的命令是A) DIMENSION和ARRAY B) DECLARE和ARRAYC)DIMENSION和DECLARE D)只有DIMENSION


正确答案:C
本题考查Visual FoxPro中数组的说明方法。创建数组的命令格式为:
  DIMENSION<数组名>
  DECLARE<数组民>
  因此选项C为正确答案。

第2题:

执行命令:DECLARE array(5,5),则array(3,3)的值为( )。

A)1

B).E

C).T.

D)O


正确答案:B
“DECL array(5,5)”创建了一个5行5列的二维数组,数组创建后,系统自动给每个数组元素赋以逻辑假 (.F.)。 

第3题:

执行命令:DECLARE array(5,5),则array(3,3)的值为( )。

A)1

B).F.

C).T.

D)0


正确答案:B

第4题:

A Windows 2003 server has the operating system installed on a software RAID mirror. After a failure of one disk in the array the server will no longer boot up. The other drive is still functioning. Which of the following should be done to correct the issue? ()

  • A、 Edit the boot.ini file.
  • B、 Change to a hardware RAID solution.
  • C、 Recreate the array.
  • D、 Edit the active drive in the array.

正确答案:A

第5题:

Which of the following is the correct configuration for a RAID 5 array?()

  • A、A two disk set with one data strip
  • B、A three disk set with two data strips and a parity strip
  • C、A two disk set with two data strips
  • D、A four disk set with two sets of data strips

正确答案:B

第6题:

Which of the following is the correct configuration for a RAID 5 array?()

A. A two disk set with one data strip

B. A three disk set with two data strips and a parity strip

C. A two disk set with two data strips

D. A four disk set with two sets of data strips


参考答案:B

第7题:

Which of the following strategies belongs to commtmication strategy


A.When speaking English, the students can realize the mistakes and correct them.

B.The students often talk about their own feelings about learning with classmates and teachers.

C.The students communicate with others by using gestures and expressions.

D.The students use reference books to get more information.

答案:C
解析:
考查对交际策略的理解。交际策略是学生为了争取更多的交际机会、维持交际以及提高交际效果而采取的行动。此题中,A项“当说英语时,学生能够意识到自己的错误并予以改正”,这属于认知策略。B项“学生经常与老师和同学交流学习体会”,这属于调控策略。C项“学生借助手势和表情进行交流”,这能够使交流更加顺畅.有利于表达自己的想法.同时也更有利于听话人的理解,属于交际策略。D项“学生利用参考书来获得更多的信息”,这属于资源策略。所以此题的正确选项为C。

第8题:

You are writing a method to compress an array of bytes.The array is passed to the method in a parameter named document.You need to compress the incoming array of bytes and return the result as an array of bytes.Which code segment should you use?()

A.

B.

C.

D.


参考答案:C

第9题:

byte arry1, array2;   byte array3 ;   byte array4;   If each array has been initialized, which statement will cause a compiler error?()

  • A、 Array2 = array1;
  • B、 Array2 = array3;
  • C、 Array2 = array4;
  • D、 Both A and B
  • E、 Both A and C
  • F、 Both B and C

正确答案:F

第10题:

Which of the following is the MINIMUM number of disks necessary for a RAID 10 array?()

  • A、2
  • B、3
  • C、4
  • D、6

正确答案:C

更多相关问题