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:
or
[ November 24, 2003: Message edited by: JiaPei Jen ]