Java Tutorial | Super- Invoke SuperClass Constructor and Reusing the Super Class Constructor

Publicado em: 08 Dezembro 2023
no canal de: ARIVU INFO
19
1

The super keyword in Java is a reference variable which is used to refer immediate parent class object.
Whenever you create the instance of subclass, an instance of parent class is created implicitly which is referred by super reference variable.
Usage of Java super Keyword
super can be used to refer immediate parent class instance variable.
super can be used to invoke immediate parent class method.
super() can be used to invoke immediate parent class constructor.
We can use super keyword to access the data member or field of parent class. It is used if parent class and child class have same fields.
If this video is useful to you, please like and share If you didn't subscribe kindly subscribe. So that you will get a notification about my new videos

Python Course full playlist:    • Python Tutorial in Tamil  
C Language Course full playlist:    • C Language Full Course  
Python Course English full playlist:    • Python Tutorial in English  
Java Course English full playlist:    • Java Tutorial in English  


Subscribe to our channel by clicking here 👉👉🏾    / @arivuinfo_6666  
#ARIVU_INFO


Nesta página do site você pode assistir ao vídeo on-line Java Tutorial | Super- Invoke SuperClass Constructor and Reusing the Super Class Constructor duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário ARIVU INFO 08 Dezembro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 19 vezes e gostou 1 espectadores. Boa visualização!