If an array is to be sent to a method, which of the following is a valid heading for a method?

A. void DisplayOutput(double [ ] anArray)
B. void DisplayOutput(double [10 ] anArray)
C. void DisplayOutput(double anArray)
D. void DisplayOutput(double anArray [10])


Answer: A

Computer Science & Information Technology

You might also like to view...

In the following function declaration, the variable size is known as a _________________.

int myFunction ( int size);

Computer Science & Information Technology

A(n) ____________________ is a computer that is located between a computer on an internal network and a computer on an external network with which the internal computer is communicating.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which of the following IP addresses would be hosts on the same subnet given the subnet mask 255.255.255.224? (Select TWO).

A. 10.4.4.125 B. 10.4.4.158 C. 10.4.4.165 D. 10.4.4.189 E. 10.4.4.199

Computer Science & Information Technology

?An anonymous function is a set of related statements that is assigned a name.

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

Computer Science & Information Technology