It sounds like we are taking the same class.... since I have similar issues.
I believe dual dispatch or multimethods come in handy in for your first question, but your question is vague.
I don't think you can have one class hierarchy implementing 2 interfaces with the same method name. BUT you can have two interfaces handling methods of the same name in separate class hierarchy.
The obvious guess from my basic knowledge of
Java is that each interface has two different sets of derived subclasses inheriting these methods.
(i.e method gumbo()from interface A is being used by subclasses A, and method gumbo() of interface B is being used by subclasses B [the names A & B I used don't matter... I was just using them to point a relation between subclasses and each interface])
Maybe that is too obvious an answer... but I can't imagine why anyone would have 2 interfaces with the same method name in the same class hierarchy.
[ July 09, 2002: Message edited by: nate saider ]