Meaningless Drivel is fun!*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes B&S:  DBAccess Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "B&S:  DBAccess Interface" Watch "B&S:  DBAccess Interface" New topic
Author

B&S: DBAccess Interface

Michael Green
Greenhorn

Joined: Dec 17, 2004
Posts: 6
Are you allowed to modify this interface? I would like to add an extends to the interface to include another java standard interface.

If not, could I create a subinterface to this one and to accomplish the extends. I could then make the Data.java class implement my extended interface, which still could satisfy the requirement of "...must implement the DBAccess interface"

Thanks
Michael
Omar Kalaldeh
Ranch Hand

Joined: Jun 08, 2004
Posts: 58
Hi Michael,

You should do your second option, extend DB interfcae and let your data class implement it.


If not, could I create a subinterface to this one and to accomplish the extends. I could then make the Data.java class implement my extended interface, which still could satisfy the requirement of "...must implement the DBAccess interface"


you are not suppose to modfiy the supplied DB interface.
[ December 18, 2004: Message edited by: Omar Kalaldeh ]

Best Regards <br /> <br />Omar F. Kalaldah<br />---------------------<br />SCJP, SCJD, SCBCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: B&S: DBAccess Interface
 
Similar Threads
urlybird local vs remote connection
how do I return a DBAccess interface back to client?
NX:Adding to given interface
How to throw RemoteException?
NX:How to avoid hard coding?