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
Explain difference between machine config vs. Web config : Dot net architecture
What are .net mobile controls features? : Microsoft dot net mobile
Define cache coherency and how is it eliminated? : Dot net architecture
Explain the difference between l1 and l2 cache? : Dot net architecture
Difference between type constructor and instance constructor?
What is the difference between an event and a delegate?
Explain a .net mobile example with details? : Microsoft dot net mobile
What is IL code, CLR, CTS, GAC & GC?
Explain the difference between l1 and l2 cache? : .NET Architecture
What is new in the .net 2.0 class library?
Explain the process of gc?
What is the purpose of cache? : Dot net architecture
How to improve the cache performance? : .NET Architecture
What are the types of memory management? : Dot net architecture
Explain about metadata?