In java design pattern when to use interface and when to use abstract class? Because both are functionally same...?
both interface and abstract will have only method declaration and we cannnot define methods. But one thing is we can define variables in abstract class, so what is the difference between interface and abstract class in design perspective?
When developing an application when I have to go for interface implementation and when i have to use abstract class implementation?