Question: About inheritanance in JAVA
What is need foe the Inheritance in though we can access any method of any class declared publicly in simple class calling.
With inheritance if you need to change a function common to all the decedents of a given class you can, easily do it. It also makes writing the class easier.
For more information, have a look at the following link: