# Abstraction

*noun*

say it: **“ab-STRAK-shun”** **/æbˈstrækʃən/**

Showing only what matters about something and hiding the details of how it works.

## What is **Abstraction**?

**Abstraction** is the concept of focussing on only
what is needed to solve the current problem. It is
a process that helps you to remove all unnecessary 
*distractions*.

Abstraction is more than just creating abstract 
classes. It is a design process that is used to 
build clean and SOLID software architecture.

In OOP abstraction can accomplished by creating 
***abstract classes*** or ***interfaces***. Each abstract class
and interface define **ONLY** those function that
are needed to perform a desired role.

## In a sentence

- “Thanks to **abstraction**, the checkout code calls Pay() without knowing whether it's a card or a gift voucher.”

Level: Freelancer · [More OOP terms at this level](https://www.ask-codey.com/glossary?category=oop&level=4)

Updated: November 9, 2026

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