Which of the following is a valid example of calling a method and sending it a two-dimensional  array argument?

A. DisplayArrayContents(int [ ,  ] anArray);
B. DisplayArrayContents(anArray);
C. DisplayArrayContents(anArray[10, 2]);
D. DisplayArrayContents(int [10, 2] anArray);

Answer: B

Computer Science & Information Technology

You might also like to view...

Access appends the ________ to the file name as a suggested name for the backed-up database

A) backstage B) date C) name D) table

Computer Science & Information Technology

Vocal ________places the emphasis in different places within a sentence to vary the meaning

Fill in the blank(s) with correct word

Computer Science & Information Technology