Skip to content

Glossary: Java Basics

Inheritance

Also written: kind of relationship

A way for one class to be a special kind of another class, as `NumberFormatException` is a kind of `IllegalArgumentException`. Code written for the general type also works with the more specific one.

Where the book teaches it

Related terms

Exception