Solved

Which of the Following Would Be a Valid Method Call

Question 42

Multiple Choice

Which of the following would be a valid method call for the following method? public static void showProduct(double num1,int num2)
{
Double product;
Product = num1 * num2;
System.out.println("The product is " +
Product) ;
}


A) showProduct("5","40") ;
B) showProduct(10.0,4.6) ;
C) showProduct(10,4.5) ;
D) showProduct(3.3,55) ;

Correct Answer:

verifed

Verified

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

Related Questions