Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is difference between c sharp and c#?

909


Why interface is required?

839


Define a jagged array in c#?

904


What is the difference between final finally and finalize in c#?

935


What is the difference between “constant” and “readonly” variables in c#?

1011


Can we set image Source dynamically using C# in WPF application?

1074


Explain About .Net remoting

1001


What is delegates in c# and uses of delegates?

858


Explain circular reference in c#?

950


Can an abstract class have a constructor c#?

924


How do you remove white spaces from a string?

945


Do unused Namespaces in c# affect run-time performance?

1042


What is cshtml extension?

955


Can partial class be inherited?

922


what is a structure in c#

1691