What is the difference between abstract class and
Interface? Give an example how will u write an abstract
class using .NET Framework
Answer Posted / ravi
1. you can inherit a abstract class but only one
but you can implement more than one interface.
2. you can't initiate a n instance of abstract class
3. there may be concrete method in abstract class but all
the method in interface is virtual only , no mrthod
definition can be given in interface.
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What is the purpose of Treeview control?
how to create applications by using Visual Studio 2012?
data types used in validation control
What is an asssembly qualified name? Is it a filename? How is it different?
Does .NET runtime offer Deterministic Destruction or not?
Explain .net mobile automatic paging? : Microsoft dot net mobile
6. Wcf- what is SOA
Explain different pipelining hazards and how are they eliminated? : Dot net architecture
Describe the Managed Execution Process in .NET?
What is .net mobile utility controls. Explain with an example? : Microsoft dot net mobile
Explain the use of virtual, sealed, override, and abstract.
Can I create my own metadata attributes?
what are the events for a form?
How can we integrate atlas with web services?
Explain about common language infrastructure?