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?

Answers were Sorted based on User's Feedback



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

Answer / rahul

Yes, just place a colon, and then keyword base (parameter
list to invoke the appropriate constructor) in the
overloaded constructor definition inside the inherited class.

Is This Answer Correct ?    6 Yes 0 No

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

Answer / vik

yes we can

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Contrast DTDs versus XSDs. What are their similarities and differences? Which is preferred and why ?

1 Answers  


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

2 Answers   Wipro,


What is foreach loop in c#?

0 Answers  


What is a statement c#?

0 Answers  


What's the difference between WindowsDefaultLocation and WindowsDefaultBounds?

0 Answers   BirlaSoft,


Is null == null c#?

0 Answers  


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

1 Answers   Visual Soft,


What does convert toint32 mean?

0 Answers  


Can I use parseint?

0 Answers  


What is static classes in c#?

0 Answers  


Which is algorithm is used to Manage the Memory in .net ??

7 Answers   TCS,


why C#.net doesnot support prcedures and why it supports structs,functions

1 Answers  


Categories