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 using keyword?

0 Answers  


What is object pool in .net?

0 Answers  


ctype(123.34,integer) - should it throw an error? Why or why not?

2 Answers   Wipro,


what is software?

4 Answers   Cadsys, Zefer,


How we can create an array with non-default values?

0 Answers  


What are expressions c#?

0 Answers  


Is unity object oriented?

0 Answers  


Why is it a bad idea to throw your own exceptions?

4 Answers  


How garbage collection deals with circular references.

0 Answers  


What is difference between string and stringbuffer in c#?

0 Answers  


What is early binding and late binding

12 Answers   ABC, Infosys, TATA,


Define multicast delegate? How it be used?

0 Answers   Siebel,


Categories