public class C {
public double computeAverage(int[] nums) {
return 0.0;
}
}
// ...Which is the method's signature?
- Acheck_circle
computeAverage(int[])
- B
public double computeAverage(int[] nums)
- C
double computeAverage
- D
computeAverage()
Explanation
A method's signature consists of its name and parameter types only, not return type or modifiers.