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.

Updated

Cheat sheet: Inheritance in Java
Category
Java
Level
Apprentice
Tags
java, OOP