A good answer might be:The complete program follows: | |
Completed printRange()It is OK to use the same names for parameters (like x) and local variables (like index) in different methods. Methods do not "share" their parameters and local variables.
When printRange() is called, the three actual values given in the call are copied to the parameters of printRange(). The parameter x refers to the array, start gets the value "1", end gets the value "5". | |
QUESTION 9:What does this program print out? Click Here after you have answered the question |