When you pass an array to a method the method receives the

When you pass an array to a method, the method receives _______. the reference of the array a copy of the first element the length of the array a copy of the array If X is defined as an array reference variable, x.length does not exist

Solution

When you pass an array to a method, the method receives reference to an array as it passes name of the array which is the base address of the array. Hence option a is correct.

 When you pass an array to a method, the method receives _______. the reference of the array a copy of the first element the length of the array a copy of the a

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site