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
На этой странице сайта вы можете посмотреть видео онлайн Java Tutorial | Super- Invoke SuperClass Constructor and Reusing the Super Class Constructor длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь ARIVU INFO 08 Декабрь 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 19 раз и оно понравилось 1 зрителям. Приятного просмотра!