# Inheritance in Java

In Java, a child class inherits from a parent class with the extends keyword and then adds its own variables and methods.

![Cheat sheet: Inheritance in Java](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/eb0ed811f4064d9980885280266d9f52.webp)

- Category: Java
- Level: Apprentice
- Tags: java, OOP
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/introduction-to-inheritance-inheritance-in-java-cheat-sheet
