What happens when we create a object of the abstract class?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What happens when we create a object of the abstract class??

Abstract class that has a pure virtual function

30th Aug 2017, 5:19 PM
Tushar Jajodia
Tushar Jajodia - avatar
3 Answers
+ 3
you can't istantiate an abstract class. that's the point of it being abstract
30th Aug 2017, 5:26 PM
Michael Vigato
Michael Vigato - avatar
+ 3
Michael's answer. Plus, it will turn your computer into a supermassive black hole, sucking the entire Milky Way galaxy into its wrath.
30th Aug 2017, 10:37 PM
Zeke Williams
Zeke Williams - avatar
+ 1
We can't create an object of abstract class. Abstract class needs to be inherited to implement it.
1st Sep 2017, 4:34 PM
Gorantla SivaSankar
Gorantla SivaSankar - avatar