Solved

What Is Wrong with the Following Method Call

Question 12

Multiple Choice

What is wrong with the following method call?
DisplayValue (double x) ;


A) There is nothing wrong with the statement.
B) displayValue will not accept a parameter.
C) Do not include the data type in the method call.
D) x should be a String.

Correct Answer:

verifed

Verified

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

Related Questions