Difference between abstract class and interface
Answer Posted / saqib khan mca 2009 galgotia g
1>Abstract class can have implementations of some methods
while interface can't have any implementations but
declarations of methods.
2>Abstract class can use various access modifiers while
interface doesn't use any access modifiers.
3>Abstract class doesn't support multiple inheritance while
interface's major use is to implement multiple and hybrid
inheritance.
4>Abstract class can have properties,data members,
constructors,static,const,readonly etc.while interface
doesn't implement these but properties.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
I can't be bothered with cas. Can I turn it off?
How do I know when my thread pool work item has completed?
Why the config file might not be writable
Explain about generation?
State the different levels of exceptional safety?
Can you explain server controls in atlas?
Explain different pipelining hazards? : Dot net architecture
Explain .net mobile input controls? : Microsoft dot net mobile
Explain the purpose of cache? How is it used? : .NET Architecture
I want to create a project like google maps how can we do that with atlas?
What does this do? Gacutil /l | find /i "corillian"
12. Types of polymorphisem[Run and Design Exp.]
Explain How to improve the cache performance? : Dot net architecture
Does application frame need host?
What is .net mobile lists. : Microsoft dot net mobile