Sally and Harry are working on an implementation of Coin. Sally declares the sole parameter to her compare To method as type Object. Harry knows the compare To method will always be called on objects of type Coin and declares the parameter to be of that type. Which method is suitable for storing Coin objects in a Ordered Vector?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here