Which of the following is the correct statement?
A. An array is passed to a method by passing the array's values
B. A method cannot modify the elements of an array argument
C.An array is converted to another data type and passed to a method
D.An array is passed to a method by passing a reference to the array