Please explain more | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please explain more

C++

28th Feb 2019, 5:30 PM
Adil Hussain
Adil Hussain - avatar
3 Answers
+ 7
https://www.google.com/amp/s/www.geeksforgeeks.org/pure-virtual-functions-and-abstract-classes/amp/ Please use the search bar before posting to avoid duplicates. This question has been discussed before.
28th Feb 2019, 5:39 PM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 6
No, you cannot instantiate an abstract class but you can inherit from them. https://www.tutorialspoint.com/cplusplus/cpp_interfaces.htm
28th Feb 2019, 5:53 PM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 1
Can we create abstract class's object ?
28th Feb 2019, 5:41 PM
Adil Hussain
Adil Hussain - avatar