This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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 ]
 
jQuery in Action, 2nd edition
 
subject: NX: Implementing the DBAccess interface and reuse