differences between class inheritance and interface?

Answer Posted / waqas ahmed

In C++, multiple class inheritance was allowed but in C# it
is not. The alternate for multiple inheritance is the use of
interface, it works like a pure abstract class (having
methods prototype only and have to be implemented by the
class that is inheriting the interface)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of session in ASP.NET

580


Why select Web API?

564


What is the difference between trace and debug in asp.net?

612


Diff between web user control and web custom control?

496


Demonstrate Render and PreRender?

596






How much is the pay-for-use service if I chose not to use microsoft-sponsored advertising?

505


What is a form tag?

505


Is post back in asp.net?

518


What are the Types of chaching. How to implement caching

560


What is a multilingual website?

561


What happens if an ASP.NET server control with event-handling routines is missing from its definition?

595


Explain Optimization technique description?

596


What is the difference between CLICK and MOUSE DOWN Event ?

584


Which platform does Microsoft .NET use for exchanging data between applications?

582


Is web config mandatory?

534