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

server.transfer limitation ?

1805


Explain COM with example?

576


What are the options provived by vss to the user? how it will help us while delevoping application?

1765


How to implement the display in the class printdoc (how to resolve the naming conflict) a: no naming conflicts

634


Whats new features in Visual Studio 2012?

557






define cache memory? : Dot net architecture

545


What are the types of application software?

515


How does .net mobile work? : Microsoft dot net mobile

517


Explain .net mobile input controls? : Microsoft dot net mobile

492


What is .net viewstate?

506


What are end points, contract, address and bindings?

538


Differnce between managed code and unmanaged code ?

540


How resource files are used in .net?

560


What are the major differences between services and web services?

503


Explain domestic architecture artifacts? : .NET Architecture

512