Question: We saw that Abstract Base Classes have limitations, compared to the usual concrete classes that have no pure virtual functions. The most notable of these

We saw that Abstract Base Classes have limitations, compared to the usual "concrete" classes that have no pure virtual functions. The most notable of these limitations is that you can't create an object of an abstract base class. Like most rules in C++, this rule about abstract base classes is motivated by something; there's a reason we can't have objects of abstract base classes, and one way to understand that reason is to consider what would happen if we could.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!