HELP!! People who passed or submitted - DB interface
Joined: Mar 21, 2003
This topic has been discussed before but I could not find the messages. I have a data class that has to implement an interface DB. Can I create another interface that extends DB and have my data class implement the new interface instead of DB. Will this break the requirement that data has to implement DB. Because after all it is implementing DB just not directly.
Joined: Apr 15, 2003
If your Data class implements an interface that extends DB, then by definition, your Data class IS implementing DB. - George
SCJP, SCJD, SCWCD, SCBCD
Joined: Jun 02, 2003
Hi Bill, In this thread, Jim suggested a very elegant answer to your question (Jim Yingst - posted December 23, 2003 11:41 PM). Regards, Phil.