What is the difference between super keyword and super method? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

What is the difference between super keyword and super method?

13th Jul 2016, 1:12 PM
Manjul Das
2 Réponses
0
The super keyword allows you to use a parents class variables, constructor or method data(if you've overridden it). Super method isn't a thing unless you're talking about overriding a parent classes method and using super inside to call one of the methods statements.
13th Jul 2016, 11:34 PM
James
James - avatar
0
thanks
19th Jul 2016, 4:31 PM
Manjul Das