I seem to remember thinking at one point in time that interfaces were the way to go because I ran into some problem with making one of my services (or dao...I can't remember) an abstract class, but I can't remember why. What are the pros and cons of each? I am guessing I would use an abstract class when there is a lot of shared code between the different implementing services. I just want a clearer understanding of when to use one verses the other.
Announcement Announcement Module
No announcement yet.
interface vs. abstract class for services and daos Page Title Module
Move Remove Collapse