Assume a class Foo implements the Comparable interface. Without knowing anything else about the Foo class, write an isEqual method that returns true if the Foo parameter passed to this Foo is equal to this Foo as determined by using the Foo class implementation of Comparable.
Answers
Answered by
0
Explanation:
Assume a class Foo implements the Comparable interface. Without knowing anything else about the Foo class, write an isEqual method that returns true if the Foo parameter passed to this Foo is equal to this Foo as determined by using the Foo class implementation of Comparable.
Similar questions