Collection and sharing of, interview questions and answers asked in various interviews, faqs and articles.....
What’s the difference between an interface and abstract class?
In an interface class, all methods are abstract - there is no implementation. In an abstract class some methods can be concrete. In an interface class, no accessibility modifiers are allowed. An abstract class may have accessibility modifiers.
No comments:
Post a Comment