Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

B&S: DBAccess Interface

 
Michael Green
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic