Solved

If an Array Is to Be Sent to a Method

Question 4

Multiple Choice

If an array is to be sent to a method, which of the following is a valid heading for a method?


A) void DisplayOutput(double [ ] anArray)
B) void DisplayOutput(double [10 ] anArray)
C) void DisplayOutput(double anArray)
D) void DisplayOutput(double anArray [10])

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions