This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have some methods defined in an interface UserDAO; something like:
and I have a class MySQLUserDAO that implements UserDAO. If I want to access the method findUserPassword( String username ) from a class called UserService, I should access the interface or the class that implements the interface? For example, which one is correct:
[ November 24, 2003: Message edited by: JiaPei Jen ]