What is the importence of the INTERFACE? but not the
inheritence concept?and why we r declaring the empty methods
in that? we can directly implements with in the class know?
Tell me the importence?

Answer Posted / n.v.s prasad

I Think,The Importance of interface is usually any language
like java,c# support single inheritance,but through
interfaces it supports "MultipleInheritane".
Note:A class canot be derived from multiple super classes
but a class derived from multiple interfaces.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cross page posting? How is it done?

716


What are resource file and how do we generate resource file?

757


What are sql joins?

754


Difference between overriding and overloading?

903


How tooltip is set through code-behind in ASP.NET?

811


What are server activated objects?

838


Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?

742


Where would you use an ihttpmodule, and what are the limitations of any?

756


Elaborate differentiation between ViewState and SessionState?

833


What are the different types of validation controls in asp.net?

739


What is a form tag?

686


What are the 3 levels at which content pages can be attached to Master Page?

784


How do you secure your connection string information?

706


Is it right that ASP.NET Web API has replaced WCF?

707


How do we sort the data from a dataset?

752