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.
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 ]