aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes NX: Implementing the DBAccess interface and reuse 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 "NX: Implementing the DBAccess interface and reuse" Watch "NX: Implementing the DBAccess interface and reuse" New topic
Author

NX: Implementing the DBAccess interface and reuse

Richard Everhart
Ranch Hand

Joined: Nov 19, 2003
Posts: 54
Hi,

My assignment states:

Your data access class must be called "Data.java", must be in a package called "suncertify.db", and must implement the following interface...


That interface being DBAccess (also called DBMain in other assignments, I've noticed). What I'd like to do it create an abstract class that extends this interface and then have my Data class extend this abstract class. To me, this seems like it would make it easier when another type of DBAccess-based class needs to be created. However, the instructions don't say I can do this, but they don't say I cannot either.

So, I'm wondering if anyone has any thoughts on this and if others have done something similar for their assignment. Thanks.

Rich
[ May 17, 2004: Message edited by: Richard Everhart ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NX: Implementing the DBAccess interface and reuse