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 the difference between primary & secondary storage device? : Dot net architecture
Explain pipelining? : .NET Architecture
Does application frame need host?
how to change the title of my window?
What are the important principles of soa (service oriented architecture)?
Explain about microsoft visual studio?
Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?
What is different about namespace declaration when comparing that to package declaration in java?
Xmlserializer is throwing a generic "there was an error reflecting myclass" error. How do I find out what the problem is?
When do I need to use gc.keepalive?
What is the difference between metadata and menifest ?
12. Types of polymorphisem[Run and Design Exp.]
How to prevent my .NET DLL to be decompiled?
Explain
Are there any third party logging components available?