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 .net mobile lists. Explain with an example? : Microsoft dot net mobile
Why only boxed types can be unboxed?
What are .net mobile controls features? : Microsoft dot net mobile
What is a clickonce application?
What is ILDASM ?
Explain about validation?
What is the difference between l1 and l2 cache? : Dot net architecture
What is an interrupt? : .NET Architecture
How do I write to the application configuration file at runtime?
What are the new features of .net 2.0?
How to improve the cache performance? : .NET Architecture
What is textview control of .net mobile? : Microsoft dot net mobile
Is dim fs as filestreamobject is a managed code? : Dot net architecture
How can I write my own .NET host?
Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form. What is the exact procedure. : Dot net architecture