If there are 2 interface IParentInterface &
IChildInterface as follows.
interface IParentInterface
{
void InterfaceMethod();
}
interface IChildInterface : IParentInterface
{
void InterfaceMethod();
}
Both the interface contains method with same name
InterfaceMethod().
How InterfaceMethod() will be handled in IChildInterface as
its deriving IParentInterface
Answer Posted / vijay
In this scenario,
Whenever the child interface is called, by default
InterfaceMethod() of childe interface is gets called.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the example of predicate?
What is difference between il and dll ?
What is xml document how do you open it?
Does c# have a 'throws' clause?
What are the 2 broad classifications of data types available in c#?
How do I create a new form in c#?
When should we use sealed class in c#?
What is autopostback in c#?
How do I type a whitespace character?
What is c# windows form application?
What does mean c#?
Explain types of comment in c# with examples
Is string a class in c#?
What is static void main in c#?
Explain the difference between access specifier and access modifier in c#?