Go to DotNetFunda.com
 Welcome, Guest!  
LoginLogin  
{ Submit content and get exposure !!! }
Submit: Article | Interview Question | Tips | Joke | Question | Link || Search  
 Skip Navigation Links Home > Interview/Exam Questions > What happens if you inherit multiple interfaces and they have conflicting method names? ...


.NET Interview Questions

What happens if you inherit multiple interfaces and they have conflicting method names?

Author: Majith | Posted on: 7/22/2008 2:58:35 AM | Category: C# | Views:466 |  Print Asked In: Many Interviews





Answer:
It’s up to you to implement the method inside your own class, so implementation is left entirely up to you. This might cause a problem on a higher-level scale if similarly named methods from different interfaces expect different data, but as far as compiler cares you’re okay.
To Do: Investigate


Interesting?  Bookmark and Share


Navigate to:

<< Previous Interview Question: What is Code group?

Next Interview Question >>: What class is underneath the SortedList class?

Random Questions: Random Interview Questions

Help: If for some reason you are getting the same question by clicking Next and Previous, Try clicking Random Question or Category link above.


About Us | Contact Us | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
All rights reserved to DotNetFunda.com. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks.
(Best viewed in IE 6.0+ or Firefox 2.0+ at 1024 * 768 or higher)