This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi friends, I have a little problem with my assignment.
The interface (DBMain) Doesn't provide methods that fulfill the user interface criteria such as search for a particular records.
To solve this problem, I created an interface that extends the DBMain interface and provide methods that fulfill the user interface criteria. I also document this design choice. So in my project assignment there are no classes that implement the DBMain but my custom interface which extend the DBMain interface.
Is it ok to do that? The instruction said that the Data.java must implements the DBMain interface. In my project, the Data.java implements my custom interface. My custom interface "IS-A" DBMain since it extends the DBMain interface.