What is the difference between Abstract and Interface?
Answer Posted / vishal singh
In an interface class, all methods are abstract - there is
no implementation. In an abstract class some methods can
be concrete - there can be implementation. In an interface
class, no accessibility modifiers are allowed - are public
by default. In an abstract class accessibility modifiers
are allowed.
| Is This Answer Correct ? | 146 Yes | 18 No |
Post New Answer View All Answers
Is string mutable in c#?
What is out int in c#?
How to find the current application file path while runtime?
What is deadly diamond problem?
What is the difference between protected and internal in c#?
What is difference between dictionary and hashtable?
When should I use static in C#?
What is list array in c#?
What is use of singleton class in c#?
In object oriented programming, how would you describe encapsulation in c#?
Can you inherit from a static class in c#?
What is strong data type in c#?
Is c# slower than java?
What is use of a HashTable in .NET?
What is difference between array and collection?