Question: Which of the following java statements would correctly call the multiplyNums method shown below? (Select all the apply.) public static double multiplyNums(int n1, int n2)
Which of the following java statements would correctly call the multiplyNums method shown below? (Select all the apply.)
public static double multiplyNums(int n1, int n2) { double result = n1*n2;
return result;
}
| double sum = multiplyNums(50,64); | ||
| multiplyNums(6.6, 5.5); | ||
| multiplyNums(50, 64); | ||
| int sum = multiplyNums(85, 5);
| ||
| System.out.println(multiplyNums(50, 64));
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
