- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Part - 12 super keyword | National Railway System in Java | Java OOPs
When you create an ExpressTrain object, it's not just an ExpressTrain. It's also a Train. Every ExpressTrain is a Train first. So how does the system initialize both? The super keyword handles this — and it's not optional.
In this part — we cover the super keyword and how it works in inheritance. The super keyword calls the parent constructor first before the child constructor runs. The parent is always initialized before the child. Always. If you don't call super explicitly, Java inserts it automatically at the very first line. This is how inheritance actually works under the hood. The base class builds the foundation. The subclass builds on top of it.
This is Part 12 of a 105-part series building a complete National Railway Management System in Java from zero.
Follow the series to build the full system — one concept at a time.
#dsa #hashmap #hashset #hashtable #algorithms #leetcode #leetcodedaily #codinginterview #faangpreparation #bigo #timecomplexity #competitiveprogramming #softwareengineering #datastructures #visuallearning #algorithmpatterns #interviewpreparation #javatutorial #javaforbeginners #oops #oop #oopsinjava #javaprogramming #learnprogramming #codingshorts #programmingtips #javadev #100daysofcode #techeducation #programminglife #codingtips #javarailway #inheritance #superkeyword #constructors #parentchild #javabasics #objectorientedprogramming #softwaredesign #cleancode #codingforbeginners #programmingeducation #javaoops #techexplained #codingtutorial #systemdesign
Видео Part - 12 super keyword | National Railway System in Java | Java OOPs канала Visually Inclined
In this part — we cover the super keyword and how it works in inheritance. The super keyword calls the parent constructor first before the child constructor runs. The parent is always initialized before the child. Always. If you don't call super explicitly, Java inserts it automatically at the very first line. This is how inheritance actually works under the hood. The base class builds the foundation. The subclass builds on top of it.
This is Part 12 of a 105-part series building a complete National Railway Management System in Java from zero.
Follow the series to build the full system — one concept at a time.
#dsa #hashmap #hashset #hashtable #algorithms #leetcode #leetcodedaily #codinginterview #faangpreparation #bigo #timecomplexity #competitiveprogramming #softwareengineering #datastructures #visuallearning #algorithmpatterns #interviewpreparation #javatutorial #javaforbeginners #oops #oop #oopsinjava #javaprogramming #learnprogramming #codingshorts #programmingtips #javadev #100daysofcode #techeducation #programminglife #codingtips #javarailway #inheritance #superkeyword #constructors #parentchild #javabasics #objectorientedprogramming #softwaredesign #cleancode #codingforbeginners #programmingeducation #javaoops #techexplained #codingtutorial #systemdesign
Видео Part - 12 super keyword | National Railway System in Java | Java OOPs канала Visually Inclined
Комментарии отсутствуют
Информация о видео
2 марта 2026 г. 21:56:26
00:00:58
Другие видео канала


