Inheritance in java

Inheritance refers to the process of creating a class in hierarchical manner. Why inheritance is important ? To reduce the time taken to develop a software. Code can be reused that is code re-usability. The profit made by the company would be increase. as the amount of time reduces the company can make huge profit on the other hand if the amount of time taken to develop software increases the profit made by the company also decreased. One ...