Hi, Consider the following stmt: If a class implements a listener interface, it only has to overload the methods it uses Is this statement correct. Shouldn't it say it only has to implement the methods it uses? Is the answer true. ( It is from one of the mocks.) ------------------ Regards, Shree
Joined: Oct 21, 2000
first of all it is worded wrong. second, it is a false statement either way. when you implement an interface you have to provide implementation off all its methods. That is why we have Adapter class(so we only implement the method(s) we need).