In this video we will discuss
1. When ever we create the object of subclass, java run time firstly
creates the object of superclass, by firing default (non-parameterized)
constructor.
2. We can also explicitly called the constructor of super class, with
with the help of super keyword.
3. In constructors if we are using super keyword then this should be the
very first line.
4. If you define a parameterized constructor in your super class be carefull. Subclass should call it explicitly in its constructor.
Link for programs used in this video
https://github.com/krishankansal/Java...
Link for complete play list
• Java for complete beginners (Hindi): ...