Difference between abstract class and interface

Answer Posted / ravi kant

abstraction mechanism provides a way to manage the system components and there corresponding interaction without considering the details of building those components and, interface is possible in some of the languages where multiple inheritance can't be used.or
interface is a collection of method declaration and constants that one or more classes of objects will use.Interface definition is same as class except that it consists of the method that are declared have have the parameter list.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

609


What other than biginteger has been introduced in system.numerics namespace?

528


How do you handle this COM components developed in other programming languages in .NET?

575


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

495


Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form.

515






Which software is used for .net programming?

518


What is the mesi? : .NET Architecture

596


What is one way operation?

552


Can I create my own context attributes?

559


Tell me .net mobile emulators? : Microsoft dot net mobile

543


When do I need to use gc.keepalive?

639


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

544


6. Wcf- what is SOA

1862


What's the difference between an application and a program?

562


What is gui programming? : .NET Architecture

498