Abstract class explanation anyone? :) thanks | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

Abstract class explanation anyone? :) thanks

I know the point of abstract methods is for polymorphism. But I’m not sure if there is any other concern pertaining to abstract classes other than requiring the label if there’s an abstract method inside, and not being able to instantiate them I guess... lol

23rd Nov 2016, 8:32 AM
Mista Ben
Mista Ben - avatar
1 ответ
+ 3
No, you are right. The main point of abstract classes is to be a blueprint for inheritance.
23rd Nov 2016, 8:44 AM
Andreas K
Andreas K - avatar