Java Inheritance refers to the ability of a child class to inherit all the non-private properties and methods from the parent class. Inheritance in Java is a concept that acquires the properties from one class to other classes; it's a parent-child relationship. The main purpose of inheritance in java is to provide the reusability of code so that a class has to write only the unique features and rest of the common properties and functionalities can be inherited from the another class. Inheritance is one of the major features of an object-oriented programming language. This is a special feature as it reduces programmers' re-writing effort. This tutorial will teach you about inheritance and its uses and types.