123456789101112131415



Question 1: What type parameter must the following method be called with?
int myMethod ( double[] ar )
{
. . . .
}

1. An empty double array
2. A reference to an array that contains elements of type double.
3. A reference to an array that contains zero or more elements of type int.
4. An array of any length that contains double and must be named ar.