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
i want the csharp questions&answeres
Is a char?
What is the wildcard character in sql?
There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?
Can constructor be private c#?
What is difference between ienumerable and list?
What are extender provider components? Explain how to use an extender provider in the project.
Can abstract class have constructor?
What is c# in asp net?
What is the interface in c#?
What is parseexact c#?
What is a di class?
Explain the working of serialization?
Is namespace a class?
What's the difference between a static method and a non static method c#?