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

What are navigation controls? How many navigation controls are there in ASP.NET 4.0?

533


What is query string? What are its advantages and limitations?

510


What is the main differences between asp and asp.net?

519


In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?

589


How can we prepairing Interview

1880






Explain the difference between webfarm and webgardens in .net?

541


What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

508


Explain the difference between an exe and a dll?

525


What is application variable in asp.net?

462


What is postback pixel?

517


How to display Alert in ASP.NET

639


What is the maximum amount of memory any single process on windows can address?

528


Explain about ASP.NET?

628


How to rename a table using sql queries?

568


What is application state?

511