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.