# Sealed / Final Class

A class that no other class is allowed to inherit from.

## What is **Sealed / Final Class**?

A **sealed** (C#) or **final** (Java) class cannot be inherited from. Use it when a class is complete and letting others extend it would cause trouble.

```csharp
public sealed class Money
{
    // nobody can write: class FakeMoney : Money
}
```

Level: Journeyman · [More OOP terms at this level](https://www.ask-codey.com/glossary/subjects/oop/journeyman)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/sealed-final-class
