This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 3. Write a method that takes a one-dimensional array of double s as its only parameter and returns the second largest value. or example, if the input were an array that contained the numbers 1.0, 5.6, 4.5, 2.3 , the method would return 4.5 . 4. Write a method that takes a one-dimensional array of Rectangle objects as its only parameter and returns a new array that is twice as large and contains each element of the old array....
View Full Document
- Spring '07