B&S: DBAccess Interface

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"

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 ]