My Interface and implementation is in same package and I used ISessionDAO for interface and SessionDAOImpl for the implementation. Is this best/standard way to define interface and class or do i need to define separate package for implementation.
Interface
package com.tolo.subca.bank.session;
public interface ISessionDAO {
public boolean checkForSingleOrMultiple(String originator);
}
Class
package com.tolo.subca.bank.session;
public class SessionDAOImpl implements ISessionDAO {
@Override
public boolean checkForSingleOrMultiple(String originator) {
// TODO Auto-generated method stub
return false;
}
}