In java design pattern when to use interface and when to use abstract class? Because both are functionally same...?

0 votes
36 views
asked Oct 11, 2015 in General by seven (150 points)  
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?

Looking for an answer?  Share this question:    

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

194 questions

175 answers

56 comments

178 users

Most active Users
October 2017:

    Recent Badges

    Famous Question
    - pythonskynet -
    Famous Question
    - XenMaster -
    Popular Question
    - pythonskynet -
    Popular Question
    - PradeepKumar_E -
    Verified Human
    - ytalyh -
    ...