Solved

Abstract class

Posted on 2004-03-24
2
329 Views
Last Modified: 2010-04-05
Dear all

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

0
Comment
Question by:ravisiva
2 Comments
 
LVL 12

Accepted Solution

by:
Lee_Nover earned 20 total points
ID: 10666926
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
0
 
LVL 1

Expert Comment

by:FeralCTO
ID: 10669589
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.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Best Firemonkey component pack 1 119
FMX StringGrid1->Canvas->FillRect Problem 3 174
Error E2158 compiling with Delphi XE10 Seattle 2 115
Dynamically Created Query 3 62
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question