What is the difference between Abstract and Interface?
Answer Posted / shiba shankar
1.In abstact class there may or may not have abstract
method.If there is one abstract method that must be a
abstract class.In interface the methods are bydefault
static and final.
2.Once we make abstract class means that's to be
extended.And the interface to be imlemented by making a
class.Through interface we can overcome the
multipleinheritance.
| Is This Answer Correct ? | 17 Yes | 11 No |
Post New Answer View All Answers
When a Static Constructor is called in a Class?
Describe the difference between inline and code behind - which is best?
What is function and method in c#?
Do while loops yes or no c#?
What does int32 mean in c#?
Is string value type c#?
Are string objects mutable or immutable?
What is the difference between internal and protected in c#?
What is private protected in c#?
What is difference between managed and unmanaged code?
What is the difference between Static, Const and read only?
Can I do things in il that I can't do in c#?
What is difference between c sharp and c#?
What is an indexer in c#?
What is the difference between as and is operators in c#?