Consider the following statement: int alpha[25][10];. Which of the following statements about alpha is true?

A. Rows of alpha are numbered 0...24 and columns are numbered 0...9.
B. Rows of alpha are numbered 0...24 and columns are numbered 1...10.
C. Rows of alpha are numbered 1...24 and columns are numbered 0...9.
D. Rows of alpha are numbered 1...25 and columns are numbered 1...10.

Answer: A

Computer Science & Information Technology

You might also like to view...

List the basic elements of a fiber-optic communication system.

What will be an ideal response?

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. You can only use array indexed variables as arguments to methods. 2. A method can not change the values stored in the indexed variables of an array argument. 3. A collection class is a class whose objects store a collection of values. 4. You may cycle through elements of a collection object using a for loop. 5. In a vararg specification the ellipsis is not part of the Java syntax.

Computer Science & Information Technology