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
What exception can an overridden method throw in comparison with the method it is overriding?
What are properties in c#. Explain with an example?
Why does dllimport not work for me?
What does string format do?
Is c# queue thread safe?
What is private protected in c#?
How do you declare a method in c#?
What is c# most used for?
What is expression tree in c#?
What can you do as a .net developer?
What is a class c#?
What is list collection in c#?
Can a abstract class have a constructor?
What is difference between out and ref in c#?
Why to use “using” in c#?