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
Explain dotnet framework ?
what is sessions and cookies take one example simple way to understand
hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays
Explain about code access security?
What is .net mobile utility controls. : Microsoft dot net mobile
What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?
Explain cache memory? : Dot net architecture
how to make and display a form without title bar?
Explain How to improve the cache performance? : Dot net architecture
Explain about .net garbage collector?
What is a virtual memory? : .NET Architecture
define cache memory? : Dot net architecture
Difference between type constructor and instance constructor?
Explain about continuable exceptions?
Explain dma? : Dot net architecture