Java for Testers #24 – Inheritance in Java | Types of Inheritance

In this Java for Testers tutorial, we will learn about inheritance in Java and types of inheritance in Java. By using inheritance in Java child class can inherit the properties and behaviors of the parent class. This is a very important OOPs concept to understand as we will be using this a lot in Selenium Webdriver automation.

Java supports different types of inheritance like Single level inheritance, Multilevel inheritance, Hierarchical Inheritance, Multiple Inheritance, and Hybrid Inheritance. We will understand these types as well in this tutorial.