+ 2
Abstract class
did i use abstract class correctly here? https://code.sololearn.com/c3iodLgVU6Pq/?ref=app
2 Réponses
+ 2
It looks right to me. The way you have it set up, you can add more functionality by form of inheritance. Just bear in mind that this may limit you, as you can only inherit from one class.
+ 2
Very well! 👌