Unformatted text preview: You can run through the original array forwards or backs as you plop the numbers into tempArray . Modify the testRun() so as to test this new method. Invoke the testRun() method for testing. After invoking, use the inspector to open up the object, and inspect the contents of the instance variable xReversed . Are its contents indeed in the reverse order of that of x ?...
View Full Document
- Fall '07
- Object-Oriented Programming, Subroutine, Local variable, array A., original array forwards