Question: Assume you have written a method with the header string myMethod(num score, string grade). Also assume you have declared a numeric variable named test. Which
Assume you have written a method with the header string myMethod(num score, string grade). Also assume you have declared a numeric variable named test. Which of the following is a correct method call?
a. myMethod()
b. myMethod(test)
c. myMethod(test, test)
d. myMethod(test,"A")
Step by Step Solution
3.45 Rating (161 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
