Abstract class

Dear all

  Abstract class can have  no constructor .
What is the reason behind  in that?

Who is Participating?

Improve company productivity with a Business Account.Sign Up

Lee_NoverConnect With a Mentor Commented:
you instantiate a descendant and don't care about the implementation
check TStrings and TStringList
think of abstract classes as of interfaces without reference counting
An abstract class never gets instantiated. Therefor, no Constructor. Abstract classes are very useful as conceptual abstractions of responsibility, and serve as super classes to other concrete classes that do get instantiated.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.