adspace


Why interface is used?

Answer Posted / Shweta Verma

Interfaces are used in C# for several reasons, including promoting loose coupling between classes by defining a contract that the implementing classes must adhere to; providing a way to achieve polymorphism and multiple inheritance (a class can implement multiple interfaces); organizing code by dividing the implementation details from the interface; and enabling programmers to work with abstractions rather than concrete classes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Please send ford technologies placement paper 2 my mail id

2177


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

2278