Skip to content

Glossary: Software Design Patterns in Java

Abstract class

Also written: abstract method, abstract

A class marked `abstract` that exists only to be inherited from. It can contain abstract methods with no body, and each child must write them. `new Report()` won't compile because `Report` is abstract.

Where the book teaches it

Related terms

Template methodFactory methodHook