Inheritance - Object-oriented programming (Parent-Child)
https://www.facebook.com/techaddaa/ Hey Friends, This is third post in core java concepts blog. This series is specially designed for beginners to help them in their learning. Introduction - There are many concepts like Classes, Object, Polymorphism, Inheritance etc. As concluded in second post, here we will explore important concept called "inheritance" and learn types of inheritance , it's advantages along with implementation in java language. This concept is simple to understand. Like in real world, every child get few habits from their parent inherently similarly in programming child classes inherit behaviour from parent class. Parent class is also called super class, base class and child class is also called sub class, derived class. This relationship is called as parent-child relationship or IS-A relationship. For example animal class