Why Object creation of abstract class is not possible.
In my opinion, It's bcz of the pure virtual function. Suppose object will be created for abstract class. Then how it'll deal with that pure virtual function.Most people says pure virtual function doesn't have any body but in reality it can have body.But once getting a pure virtual func. our compiler will deny to create object.The invention of pure virtual function is only to create abstract class / Interface which prevents object creation.
Is there anything else I'm missing? Is there any hidden thing lies inside the object/VTABLE/VPTR/memory ...etc.
Ah. Right... I understand what you mean now (I think we got a little lost in translation) :)
Yes, in the case where a pure-virtual has an implementation, it is still abstract and cannot be called because
This article discusses the Chain of Responsibility pattern, explaining
What it is;Why it is; andHow it is
At the end of this article, I hope you will be able to describe the use and benefits of Chain of Responsibility.
Exception Handling is in the core of any application that is able to dignify its name.
In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.