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 strongly typed in c#?
What are custom exceptions in C#?
What does string intern do?
Explain About DTS package
What's the difference between abstraction and encapsulation?
What are circular references?
What are the types of comment in c# with examples?
What are static and dynamic variables?
Does unity use c++ or c#?
What is the main method?
What is the difference between writeline and write in c#?
Why do we use generics in c#?
What are sessions in c#?
Can you inherit multiple classes in c#?
What is escape character in c#?