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
readonly syntax ?
I can't be bothered with cas. Can I turn it off?
What is a virtual memory? : Dot net architecture
Explain the types of memory management? : Dot net architecture
How to prevent my .NET DLL to be decompiled?
Explain about continuable exceptions?
Explain the difference between inprocess vs out process session state : Dot net architecture
what is the difference between running an application with and without debugger?
What actually happes when you add a something to arraylistcollection ?
Explain .net mobile events? : Microsoft dot net mobile
What is Object Caching in Visual Studio 2010?
Can I create my own permission set?
Explain about metadata?
Explain difference between state server and sqlserver? : .NET Architecture
What is cache coherency and how is it eliminated? : Dot net architecture