# Abstract

A class or function that must be overridden.

## Define **Abstract**

**Abstract** defines a concept (class) or behavior (function) that is needed in the application, but requires inheritance to provide additional details before it can be used.

```java
public abstract class Shape
{
  public abstract double getArea();
}
```

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

Updated: October 12, 2026

Source: https://www.ask-codey.com/glossary/abstract
