differences between class inheritance and interface?
Answers were Sorted based on User's Feedback
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 |
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 |
What is asynchronous call?
Define tracing.
Describe how ASP.NET maintains process isolation for each Web application?
Which is better viewstate or session?
What?s the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"?
Difference between .NET and previous version?
why many web.config files are used in are project
What are the different types of Session state management options available with ASP.NET?
how to add cliet side event to server side? and how to register client script to sever side? wt difference these two
How To Generate ConnectionString By Using Notepad??
Difference between Htttppost and Httpget Methods?
I have one .Net application and i have two databases which is in SQL server2000 and one more database in ORACLE? how can i access the database from different Databases?