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


Please Help Members By Posting Answers For Below Questions

What is an asssembly qualified name? Is it a filename? How is it different?

589


What is .net mobile input validation. : Microsoft dot net mobile

614


Explain about continuable exceptions?

621


Use of Enable view state ? if turn off what happen ?

3971


Explain write back and write through caches? : Dot net architecture

648






Different types of authentication modes in .net framework ?

625


What is .net mobile images control. Explain with an example? : Microsoft dot net mobile

593


Explain COM with example?

647


What is .net mobile utility controls. Explain with an example? : Microsoft dot net mobile

544


Session State and can i store desirialized object in state server, if yes how and if not why.

1423


Explain how does .net mobile work? : Microsoft dot net mobile

582


What is application frame host?

695


Define dma? : Dot net architecture

632


Explain pipelining? : .NET Architecture

630


Is dim fs as filestreamobject is a managed code? : Dot net architecture

576