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 a base class has a bunch of overloaded constructors, and
an inherited class has another bunch of overloaded
constructors, can you enforce a call from an inherited
constructor to an arbitrary base constructor?



If a base class has a bunch of overloaded constructors, and an inherited class has another bunch o..

Answer / js_m

yes, for example

class Root
{
public Root(int id) {...}
}

class Derived
{
public Derived (int id) : base(id)
{}
}

'public Derived (int id) : base(id)' does the need ful.

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More C Sharp Interview Questions

What is the difference between User controls and Custom Controls?

0 Answers   Accenture,


What is difference between .net and c#?

0 Answers  


Can a abstract class have a constructor?

0 Answers  


Why we use oops in c#?

0 Answers  


What is the difference between yield and return?

0 Answers  


When was .net linq added?

0 Answers  


how can one use hcl and c sharp together?

0 Answers  


Is c# difficult to learn?

0 Answers  


What method is used to sort the elements of the array in descending order?

0 Answers   Siebel,


What is the difference between disposing of () and finalize() methods in c#?

0 Answers  


What is application c#?

0 Answers  


What do you understand by 'access specifiers' in C#?

0 Answers   Genpact,


Categories