Unformatted text preview: (), go through the returned array and print out the object type and value in each array element. Use hierarchy’s toString () which is implemented to return a String containing the object type and value. For example, ac is an instance of ArrayCopier , resturnedArray = ac.copyArray (). Assume that Object ae = returnedArray [i], use System.out.println(ae) to call () method in each MyData object. If you need to know what are the criteria used for isValid (), getLow () tells you the lower bound and getHigh () tells you the higher bound. Due Date: February 18, 2010...
View Full Document
- Spring '10
- Object-Oriented Programming, Subroutine, In-class exercise, Type system, Adapter in-class exercise