Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
How to print only from a superclass and not from its child classes's method?
2 Réponses
+ 1
use the super function you're probably literally just about to find out about lol. (the super function is covered in the lesson immediately after finding out about inheritance)
0
@Sutax Kapoor I meant to say if there is code to be printed in class B also but want only A's 1 printed