+ 3
Can abstract class be instantiated?
6 Antworten
+ 18
Nope. See Sololearn course.
+ 3
Nope! since abstract class is nothing on its own. It is not complete. Abstract class is a skeleton structure i.e. an incomplete construct. So it can't be instantiated since it would defy the object oriented model.
+ 1
Also , I think abstract class constructor is private. I am not sure but it could be one of the reasons.
+ 1
no ,but the help of anonymous class we can instantiated.
0
no they can't be..you can only create subclasses
0
Since abstract class contain pure virtual function which needs to be defined before instantiation of that particular class other wise compile time error