differences between class inheritance and interface?

Answers were Sorted based on User's Feedback



differences between class inheritance and interface? ..

Answer / chandra prakash

The most important technical distinction between creating a derived class and implementing an interface is that a derived class can only inherit from one base class, but a class can implement any number of interfaces.

Is This Answer Correct ?    6 Yes 2 No

differences between class inheritance and interface? ..

Answer / 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

More ASP.NET Interview Questions

What is form method?

0 Answers  


what is diffrent between asp & asp.net

2 Answers  


Can u able to get the xml document in crystal report if yes how its possible

2 Answers  


Difference between Response.redirect vs server.transfer?

0 Answers  


when a request is made in Life cycle of ASP.NET page .

0 Answers  


What is the caspol.exe tool used for?

0 Answers  


how many select state ments are used in stored procedure?

8 Answers   CSC,


The question is "After sign out from email, Then we click a back button , we can't go to the previous page ie inbox page, It is displaying a login form only" My doubt is How will code this , If u know please blog me through this or my mail. my mail id is yoursguna@gmail.com

3 Answers   TCS,


What are the new features added from ASP to ASP.NET?

0 Answers   Amdocs,


What is the difference between stored procedure vs function?

0 Answers  


How would you get asp.net running in apache web servers? Explain it's limitations.

0 Answers  


Explain the benefits of viewstate?

0 Answers  


Categories