Java Inheritance and Constructors

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

this is one of the very few videos I would watch even it is longer than 10 mins. Perfect explanation.

ll-bcgn
Автор

Very helpful tutorial!! Thank you for making it simpler for us.

amiruzzaman
Автор

my first time commenting on a youtube video, thank you that was helpful I was really stuck on that idea

yolenix
Автор

Your channel will get big if you continue with this kind of high quality content

whitehatguy
Автор

yo, you are so good at this. Thanks a lot!

choichoi
Автор

Thank you this explained something that really confused me very well!

cecilshepherd
Автор

yeah, now i can solve my problem. thanks sir!

denimugi
Автор

Understandable lecture, I am very happy after getting this one

mrinalbhattacharjee
Автор

You're a hero 👏, please create more 📹.

shaunthabang
Автор

man what a great down to earth explanation

azizayari
Автор

Thanks dude you made it clear as a crystal.Excellent explaination

lahiruudayanga
Автор

so basicly every time you create a constructor in the sub class there is an invisible super() in it.
but if you already write a constructor in the base class, you must use that constructor in it.
and if you already created a constructor in the sub class using (not the default constructor) and you want to create another you can just call the first one in it (as long us u find a constructor for the base class in the subclass constructor there is no error);

ahmedcherif
Автор

Hey! I have a question. Let's say we write S.O.Pln("Superclass") in Superclass's constructor and S.O.Pln("Subclass") in Subclass's constructor. But we do not use the 'super' keyword in the subclass's constructor. Why does Java print both 'Superclass' and 'Subclass' when a subclass object is made, even though the 'super' keyword hasn't been called?

arunimagoyal
Автор

really weird class topic tbh, but thanks.

ziyadAlshareef
Автор

This is confusing. You need to write and run a program.

cyriaqueH