GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  Programming  >  C#
Go To First  |  Previous Question  |  Next Question 
 C#  |  Question 26 of 40    Print  
Can abstract classes have constructors? If the answer is yes, when do they get called?

  
Total Answers and Comments: 3 Last Update: June 03, 2008     Asked by: Kezia 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 04, 2007 02:07:58   #1  
kiran prasad Member Since: October 2007   Contribution: 7    

RE: Can abstract classes have constructors? If the answer is yes, when do they get called?
Yes, Abstract classes have constructors.

They are called when their derived class objects are instantiated..
For more information, READ : Professional C# 2005 by Wrox publications...

Thanks.

 
Is this answer useful? Yes | No
December 04, 2007 02:10:49   #2  
kiran prasad Member Since: October 2007   Contribution: 7    

RE: Can abstract classes have constructors? If the answer is yes, when do they get called?
Yes, Abstract classes have constructors.

They are called when their derived class objects are instantiated..
For more information, READ : Chapter 4, Professional C# 2005 by Wrox publications...

Thanks.

 
Is this answer useful? Yes | No
June 03, 2008 05:58:41   #3  
vaneet Member Since: July 2007   Contribution: 9    

RE: Can abstract classes have constructors? If the answer is yes, when do they get called?
yes, the abstract classes can have constructors.
But they can be run only by the subclasses of the abstract class

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape