I want to know when to use interface over abstract class. One reason could be because you are extending another class. But it wont be known until some one implements the interface. So I want to know in Java API how came up with decisions that some thing should be interface/ abstract class. I am able to find the difference between interface and abstract class, but not when it should be used.
Category:Java Interview Questions
No comments:
Post a Comment