Which of the following correctly declares a method that accepts one…
PYQ RPSC Programmer 2024
Which of the following correctly declares a method that accepts one dimensional array of double as a parameter?
- A.
public void fun(double *arr[])
- B.
public void fun(double[] arr)
- C.
public void fun(arr double[])
- D.
public void fun(double arr)
- E.
Question not attempted
Attempted by 702 students.
Sign up free to check your answer
Sign up freeLoading lesson…

