• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HELP!! People who passed or submitted - DB interface

 
Bill Robertson
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
George Marinkovich
Ranch Hand
Posts: 619
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your Data class implements an interface that extends DB, then by definition, your Data class IS implementing DB.
- George
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic