Solved

Given the Following Method, Which of These Method Calls Is

Question 43

Multiple Choice

Given the following method, which of these method calls is valid?
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