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 does string format do?
What do you mean by default constructor?
What are nested classes in c#?
Can datetime be null c#?
Is c# good for beginners?
What does ienumerable mean?
What is literal control
how background thread access to ui control?
Can a dictionary have duplicate keys c#?
How is a loop recorder monitored?
What is a decimal c#?
What's the difference between an integer and int?
List the difference between the virtual method and the abstract method?
What is hierarchical inheritance in c#?
What is difference between string and string builder?