Tower defense (OOP4Fun Book)
Détails de l'AEA
Nom
Introduction to the super keyword in the context of inheritance
Description
The teacher introduces the super keyword. The super keyword in the context of inheritance was introduced:
o super keyword can be used in order to invoke constructor from the parent class,
o super keyword can be used in order to invoke method from the parent class,
o super keyword can be used in order to invoke attribute from the parent class,
o super must be first statement
Benefits of using the super keyword in the context of inheritance should be discussed.
It should be noted that there is a situation, in which this is true - i. e. in contructor.
Type d'apprentissage
Discussion
Prestation de l'activité
En ligne
Sur place
Hybride
Enseignant présent
Enseignant non présent
Niveau d'utilisation de l'IA
-