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
Define dma? : Dot net architecture
Different types of authentication modes in .net framework ?
inprocess vs out process session state : Dot net architecture
What is the problem with .net generics?
What does the term "green architecture" mean? : Dot net architecture
Explain .net mobile events? : Microsoft dot net mobile
what is the difference between master page and content page?
What is the difference between metadata and menifest ?
What are the different pipelining hazards and how are they eliminated? : Dot net architecture
How to improve the cache performance? : .NET Architecture
Does application frame need host?
What is the difference between primary & secondary storage device? : Dot net architecture
What is a service contract, operation contract and data contract?
How does an appdomain get created?
Define cache coherency? : Dot net architecture