Multiple choice technology programming languages

Can Abstarct class have a constructor?

  1. True

  2. False

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

An abstract class in object-oriented programming can declare constructors. Although you cannot instantiate an abstract class directly using the new keyword, its constructor is executed during the initialization chain of a concrete subclass when the subclass is instantiated, allowing initialization of shared fields.