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

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


Answer: B

Computer Science & Information Technology

You might also like to view...

In which OSI model layer will you find the OSPF protocol?

A. Application B. Session C. Transport D. Network

Computer Science & Information Technology

If a string is a group of characters, it makes sense that you can make longer strings out of shorter ones by putting them together. This process is called ____.

A. concatenation B. formatting C. camel casing D. validating

Computer Science & Information Technology

A ____ is an object that allows users to choose from multiple predetermined options.

A. source B. starter C. feeder D. slider

Computer Science & Information Technology

User acounts are stored in the ______ _______ ________ __________ on a local computer.

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

Computer Science & Information Technology