Question: Assume you have written a method with the header void myMethod(num a, string b). Which of the following is a correct method call? a. MyMethod(12)
Assume you have written a method with the header void myMethod(num a, string b). Which of the following is a correct method call?
a. MyMethod(12)
b. MyMethod("Goodbye")
c. MyMethod(12, "Hello")
d. It is impossible to tell.
Step by Step Solution
3.46 Rating (159 Votes )
There are 3 Steps involved in it
c M... View full answer
Get step-by-step solutions from verified subject matter experts
