37 - Super keyword in Java

Опубликовано: 26 Июль 2026
на канале: Codearchery
14,644
292

The super keyword refers to the objects of immediate parent class.
The use of super keyword

1) To access the data members of parent class when both parent and child class have member with same name
2) To explicitly call the no-arg and parameterized constructor of parent class
3) To access the method of parent class when child class has overridden that method.

Site : Codearchery.com
My Instagram :   / dips6797  
Facebook Page :   / codearchery  
Facebook Group :   / 153068202055471  

MUSIC:
Artist: Nicolai Heidlas
Title: The Countdown
**************************
Download the song here:
www.hooksounds.com/royalty-free-mu…untdown/338419/
---------------------------------------------------------
Back Music
Artist: Nicolai Heidlas
Title: On And On
  / 90-bpm-on-and-on-upbeat-instrumental-pop-b...  
---------------------------------------------------------