Reusability Tutorial -16 In OOPS| Constructor Chaining | Super | In Hindi/URDU
232 views · Published 14 March 2018 · 8:59 · Indexed 30 October 2026
Channel: AndroJavaTech4U · 2018 · Science & Technology
In this video u can understand the concept of Constructor Chaining in Inheritance.
Constructor Chaining:-
It is the process of calling multiple constructors in a chain on single object.
Note:-There are two ways are used to performed constructor chaining:-
1)-Via ”this” keyword.
2)-Via “super” keyword.
For this we have use super and this keyword keyword.
syntex:-
super(args if any);
this(args if any);
Note:-In case of Constructor Chaining super and this both is the first statement in constructor body.
Note:-
It means we can’t use this and super both in a single constructor.
Rule-Before Executing any child class constructor firstly execute its immediate parent class default constructor not parameterized.
Why:- In order to Initialized parent data member.
How:-
Because compiler added super keyword at the top of every constructor at compile time .
class A
{
A()
{
super();
}
}
Stay tuned with me for more upcoming Videos,
don't forget to subscribe my YouTube Channel and share your valuable comments in Comment section down below, i'll be happy t o help you all, your Surya ☺
program-
Download my you tube channel Android application from here-
https://www.dropbox.com/s/stoehcarylm...
Firebase Tutorial No-6 URl-
https://www.youtube.com/watch?v=5IWBz...
Firebase Tutorial No-1 URl-
https://www.youtube.com/watch?v=gf0VQ...
Firebase Tutorial No-2 URl-
https://www.youtube.com/watch?v=srgAL...
Firebase Tutorial No-3 URl-
https://www.youtube.com/watch?v=TW0uO...
Firebase Tutorial No-4 URl-
https://www.youtube.com/watch?v=XXxRA...
Write program url using Firebase Database-
https://www.dropbox.com/s/wxggu30ajqa...
Sqlite database tutorials part-1 url-
https://www.youtube.com/watch?v=6a9lI...
Sqlite database tutorials part-2 url-
https://www.youtube.com/watch?v=h1Peq...
Storage option url-
https://www.youtube.com/watch?v=KgCfx...
Internal Storage url-
https://www.youtube.com/watch?v=O-VKJ...
External Storage url-
https://www.youtube.com/watch?v=EteGm...
Shared Prefrences url-
https://www.youtube.com/watch?v=KZJC2...
Spinner Url-
https://www.youtube.com/watch?v=o3KZz...
CustomListView Url-
https://www.youtube.com/watch?v=2geTp...
ListView In Android Studio Part-1
https://www.youtube.com/watch?v=taItn...
ListView In Android Studio Part-1
ListView In Android Studio Part-2 With EventHandling
https://www.youtube.com/watch?v=F3tsW...
ListView In Android Studio Part-3 With EventHandling
https://www.youtube.com/watch?v=fCh5D...
Firebase:-
https://www.youtube.com/watch?v=Lncmj...
How to Install Java Url-
https://www.youtube.com/watch?v=NXlHE...
Download my you tube channel Android application from here-
https://www.dropbox.com/s/stoehcarylm...
GridLayout url-
https://www.youtube.com/watch?v=B3TUS...
TableLayout url-
https://www.youtube.com/watch?v=wbV3t...
RelativeLayout-
https://www.youtube.com/watch?v=80Kk_...
https://www.youtube.com/watch?v=1jnNF...
Linearlayout-
https://www.youtube.com/watch?v=yY3xL...
https://www.youtube.com/watch?v=vnEdL...
Connect on Socials:-
Facebook:- https://www.facebook.com/AndroJavaTec...
Twitter:- https://twitter.com/AndroJavaTech4U
Google Plus:- https://plus.google.com/u/0/+AndroJav...
LinkedIn:- https://www.linkedin.com/in/androjava...
More from this channel
-
18:08
Platform Independency Features of Java In Hindi #1
-
4:42
VMware Workstation Install With RedHat
-
8:35
Difference Between Program and Process
-
2:51
jconsole tool of java
-
5:38
JVM ( java virtual machine) architecture - tutorial
-
4:30
Java Fundamentals In Hindi #2 (Keyword In Java)
-
2:26
Working On WebLogic Server 12C In Hindi #2
-
21:59
Login and Registration Part1