Question: solve Exam 2 Arrays are most useful when you use a as a subscript when accessing their values. a. numeric constant b. character c. variable
solve

Exam 2 Arrays are most useful when you use a as a subscript when accessing their values. a. numeric constant b. character c. variable d. filename 8. Suppose you create a progra m containing a seven-element array that contains the names of the days of the week. At the start of the program, you display the day names using a subscript named dayNum. You display the same array values again at the end of the pro- gram, where you a. must use da yNum as a subscript to the array. b caus dyum butriable c. must not use dayNum d. must use a numeric constant instead of a variable Assume you have written a method with the header void myMethod (numeric string b). Which of the following is a correct method call? a. myMethod (12) b. myMethod (12, "Hello") c. myMethod ("Goodbye") d. It is impossible to tell. 9. a, 10. Assume you have written a method with the header numeric myMethod (string name character code). The method's type is. a. numeric b. string c. character d. void
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
