Multiple choice technology programming languages

Can Abstarct class have a constructor?

  1. Yes, Only Concrete constructor

  2. Yes, Only Abstract constructor.

  3. No

  4. I don't know.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Abstract classes CAN have constructors in C# and other OOP languages. The constructor is called when a concrete subclass is instantiated, as part of the object initialization chain. Option A's wording 'Only Concrete constructor' refers to this - constructors exist but are only invoked through concrete subclass instantiation.