Can a abstract class have a constructor?



Can a abstract class have a constructor?..

Answer / Sudhanshu Karnatak

No, an abstract class in C# cannot have a constructor with implementation. An abstract class can only have a parameterless constructor that is used to create and initialize the object of the abstract class. However, concrete derived classes can have constructors with implementation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Is c# the same as d flat?

1 Answers  


Major difference between Basic httpbinding and WShttpbinding?

1 Answers   QuestPond,


What?s the advantage of using System.Text.StringBuilder over System.String?

1 Answers  


explain the nature of the assembly work?

1 Answers   HCL,


WHAT IS THE EXACT USE OF INTERFACE(DONT TELL USE FOR MULTIPLE INHERITANCE)

5 Answers   eXensys,


Why we use oops in c#?

1 Answers  


how to sort an array in c#

1 Answers   Cognizant,


To allow an element to be accessed using a unique key which .NET collection class is used ?

1 Answers   Siebel,


What is .net console?

1 Answers  


How to find the current application file path while runtime?

1 Answers  


How?s method overriding different from overloading?

4 Answers  


What are native methods?

1 Answers  


Categories