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
Explain hard disk and what is its purpose? : Dot net architecture
what is the difference between master page and content page?
Define cache? : Dot net architecture
what is diffrent beatween localprinter and networkprinter
Explain about microsoft visual studio?
Difference between throw exception and rethrowing ?
What is the difference between absolute expiration and sliding-time expiration?
Explain the race around condition? : .NET Architecture
Xmlserializer is throwing a generic "there was an error reflecting myclass" error. How do I find out what the problem is?
What is cookie less session?
What is an interrupt? : .NET Architecture
Explain cache? : .NET Architecture
what is the difference between running an application with and without debugger?
What is the purpose of cache? : Dot net architecture
Explain the purpose of cache? : Dot net architecture