What is the difference between Abstract and Interface?

Answer Posted / nikhila

Abstract class contain both complete and incomplete methods
The implementation for abstract methods will be in derived class. Access specifier will allow

Interface contains only incomplete methods.The implementation will be in other class.Access specifier will not allow.by default public can use

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by sealed classes and static classes?

732


What is the difference between add and addrange in c#?

772


Why do we use partial class in c#?

678


What is the difference between list and dictionary in c#?

673


What is difference between array and collection?

751


What is master page in asp net c#?

670


What is signature c#?

676


What is the main purpose of xml?

703


How do I join one form to another in c#?

679


Explain about Error handling and how this is done

730


What is int64 in c#?

686


What is the use of 'using' statement in c#?

679


Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?

761


What is Wrapper class in dot net?

835


What is dll hell, and how does .net solve it?

731