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
What is get set in c#?
Why singleton pattern is used in c#?
Where value types are stored in c#?
what is virtual method in c#?
What is double c#?
What is the difference between ref and out in c#?
Structs are largely redundant in c++. Why does c# have them?
What are the differences between events and delegates in c#?
What is boolean method?
What is a value type in c#?
Is array value type in c#?
What is the difference between parse and tryparse in c#?
Is as operator in c#?
How we can create an array with non-default values?
Define satellite Assembly?