0
Creating object with virtual class?
Assume we have a class which has pure virtual function. We cannot create directly object. But when we create a pointer type of this class, we are creating an object, aren't we? https://code.sololearn.com/c7YH922zNFl4
1 ответ
+ 2
..\Playground\:8:32: error: expected ';' at end of member declaration
virtual void calcInterest() = 0