What is the meaning of!? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the meaning of!?

- An abstract class cannot be instantiated

29th Mar 2020, 5:40 PM
Mohamad Nour Alaref
Mohamad Nour Alaref - avatar
1 Answer
+ 5
It simply means that you cannot create an object of that abstract class type but you can use it as a reference to create an object of the concrete class extending it. More discussions on abstract classes. https://www.sololearn.com/discuss/2092438/?ref=app https://www.sololearn.com/discuss/2123978/?ref=app
29th Mar 2020, 6:15 PM
Avinesh
Avinesh - avatar