wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes HELP!! People who passed or submitted - DB interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "HELP!! People who passed or submitted - DB interface" Watch "HELP!! People who passed or submitted - DB interface" New topic
Author

HELP!! People who passed or submitted - DB interface

Bill Robertson
Ranch Hand

Joined: Mar 21, 2003
Posts: 234
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

Joined: Apr 15, 2003
Posts: 619
If your Data class implements an interface that extends DB, then by definition, your Data class IS implementing DB.
- George


Regards, George
SCJP, SCJD, SCWCD, SCBCD
Philippe Maquet
Bartender

Joined: Jun 02, 2003
Posts: 1872
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HELP!! People who passed or submitted - DB interface
 
Similar Threads
Adapter pattern and DB interface
should adapter implement Db interface
B&S: rmi remotexceptions on interface
get all records in GUI in B&S
B&S 2.1.2 Interface