• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

NX: Implementing the DBAccess interface and reuse

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic