← Back

Abstract Classes

Base class with partial implementation + abstract methods.

oopabstractionUpdated 2025-09-01

Usage

  • Share code + define required overrides

Example

  • abstract class Shape { abstract int area(); }