Programming Logic and Design, 8eSolutions 9- d.two of these 7.When you use a variable name in a method call, it _____ as the variable in the method header.
8. Assume you have written a method with the header void myMethod(num a, string b) . Which of the following is a correct method call?
9.Assume you have written a method with the headernumyourMethod(string name, num code). The method’s type is _____. a.num b.string c.numandstring d.void
10. Assume you have written a method with the header string myMethod(num score, string grade). Also assume you have declared a numeric variable namedtest. Which of the following is a correct method call?
11.The value used in a method’sreturnstatement must _____.
12.When a method receives a copy of the value stored in an argument used in the method call, it means the variable was _____.