Explain me what is the difference between an abstract class and an interface?



Explain me what is the difference between an abstract class and an interface?..

Answer / Bhole Nath Mishra

An abstract class can contain implementation details, as well as abstract methods that must be implemented by derived classes. An interface only defines a contract that specifies what members should exist in a class, but does not provide any implementation. Multiple classes can implement the same interface, while a class can inherit from one abstract class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

How will u load dynamic assembly? How will create assemblies at run time?

1 Answers  


What is loosely coupled solution in.net?

1 Answers  


What is dot net architecture?

1 Answers  


What is the difference between response.redirect & server.transfer?

1 Answers  


how can i create a table from front end to back end in wabe page?

1 Answers  


Explain what are possible implementations of distributed applications in .net?

1 Answers  


When we go for html server controls and when we go for web server controls?

1 Answers  


What is the difference between custom control and web control?

2 Answers  


How to debug failed assembly binds?

1 Answers  


Can "this" be used within a static method?

1 Answers  


Explain how do assemblies find each other?

1 Answers  


How many types of generations are there in a garbage collector?

1 Answers  


Categories