Difference between abstract class and interface
Answer Posted / leeladhar
abstract means hiding some thing and interface are use for
multiple inheritence because a subclass can't extend by two
base class it can implement by two interface only.
in abstract class some method will be abstract or some
method will be non abstract.
for abstract method you need subclass that will be define
base class's abstract method.
subclass is not mendatory to all abstact class.
in interface all method will be abstract type so for that
subclass is mendatory that will define method.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Why only boxed types can be unboxed?
Explain .net mobile selectionlist control? : Microsoft dot net mobile
State the different levels of exceptional safety?
what are login controls?
what is the difference between running an application with and without debugger?
What actually happes when you add a something to arraylistcollection ?
Which software is used for .net programming?
Whats new features in Visual Studio 2012?
What are public and private assemblies ?
What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture
Explain about developer benefit from memory management?
Explain about appdomains?
What is the difference between absolute expiration and sliding-time expiration?
Explain the race around condition? How can it be overcome? : Dot net architecture
How is the using() pattern useful? What is idisposable?