Which of the following is true about methods that receive an array as a parameter?

Which of the following is true about methods that receive an array as a parameter?

Which of the following is true about methods that receive an array as a parameter?

A.
The developer should never use an array as a parameter because it will cause a buffer
overflow.

B.
The developer should expose the array so it can be modified outside the class.

C.
The developer should clear the array first.

D.
The developer should clone the array object and store the copy.



Leave a Reply 0

Your email address will not be published. Required fields are marked *