What is the difference between abstract class and
Interface? Give an example how will u write an abstract
class using .NET Framework

Answer Posted / susant

difference between an interface and abstract class?
1.In Interface all methods must be abstract,
2.In the abstract class some methods can be concrete.
3.In the interface no accessibility modifiers are allowed,
which is ok in abstract classes.
4.In interface all the members are by-default public

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the Lapsed Listener problem in .net

665


What is code access security (cas)?

562


What is the use of web.config?

599


Explain about cookie less session state? : .NET Architecture

551


Explain the difference between l1 and l2 cache? : Dot net architecture

543






How to improve the cache performance? : Dot net architecture

524


Define the mesi? : Dot net architecture

530


What actually happes when you add a something to arraylistcollection ?

483


What is difference between Desktop, Client Server & Web based applications?

532


Explain the five stages in a dlx pipeline? : Dot net architecture

480


which is the institute in hyderabad for providing the live project industry training

2329


How to improve the cache performance? : .NET Architecture

545


Name some changes done since version 3.0?

549


Explain different pipelining hazards? : Dot net architecture

470


Can you explain control extenders?

517