0

abstract

hey I don't really get the example use to describe the abstract class (The Book example) from what I know objects can't be constructed from abstract class or interface. but a book can easily be constructed from a class Book. please enlighten me and let me know if I'm mistaken. Thanks in advance.

20th Jul 2016, 5:00 AM
Eli Brown
Eli Brown - avatar
2 Réponses
+ 1
Abstract class means a theoretical class without actually implementing it.
20th Jul 2016, 8:38 AM
chaitanya guruprasad
chaitanya guruprasad - avatar
+ 1
abstract ones only has pure virtual functions.
20th Jul 2016, 2:00 PM
_Geometry dash_ _Roh_ (AKA NovaRate0315)
_Geometry dash_ _Roh_ (AKA NovaRate0315) - avatar