• Post Reply Bookmark Topic Watch Topic
  • New Topic

NX: Implementing the DBAccess interface and reuse  RSS feed

Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

[ May 17, 2004: Message edited by: Richard Everhart ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!