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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Logic & Design Questions!