Unlike a class, an interface never implements methods; instead, classes that implement the interface implement the methods defined by the interface.
An interface does not have concrete methods, so you cannot override them.
[ July 27, 2005: Message edited by: Steve McCann ]
Originally posted by Sherry Jacob:
What I wanna know is, can I override the identify method in this way? If not, then what's the way 2 override the identify() method in the class ?
What you are trying to do is not overriding, but defining the same method twice in the same class.
Can you please explain what you are trying to do, and why? What are your requirements?