HAS-A and IS-A RelationShip

1.1 IS-A

"IS-A" relationship describes inheritance relationship between objects. IS-a relationship described with Java code by using extends keyword.
Learn More ...

1.2 UpCasting and DownCasting

An object of a sub class can be referred by its super class automatically.
You can cast an object implicitly to a super class type is Called UpCasting.
Learn More ...

1.3 super and this

super keyword always refers to the parent elements like parent method, parent constructor, parent instance variables.
Learn More ...

1.4 Constructor chaining

In Java Program,Calling another constructor in the same class from another constructor is called Constructor Chaining.With help of this() we can call another constructor in the same class.
Learn More ...

1.5 Examples

Here are some examples of Constructor.