Abstract Data Type
Definition
An abstract data type defines data about permitted operations and their behavior without specifying the concrete internal implementation.
What matters for an ADT is what a data type can do — such as insert, remove or read — and which rules apply. Whether it uses an array, a linked list or another structure internally remains hidden behind the interface.
Simply explained
You operate a drinks machine through buttons and its output slot. You do not need to know how its internal mechanism works; what matters is which actions are allowed and what happens as a result.
Why it matters in practice
Fundamental to maintainable software, clear interfaces and interchangeable implementations. ADTs help decouple changes inside modules from other parts of a program.
Example from business
Possible example: A shop system defines a shopping cart via operations such as addItem(), removeItem() and total(). The specific storage can be changed later without all calling components having to be adapted.
Limits and pitfalls
- Equate ADT with concrete data structure; leak internal details to the outside; define operations without clear invariants; make interfaces so broad that abstraction loses its usefulness.
Origin & history
Abstract data types were systematically developed in programming-language research in the 1970s. Barbara Liskov and Stephen Zilles published Programming with Abstract Data Types in 1974.
Use in mid-sized companies
- Possible applications: clean domain models, APIs, backend components and integrations; especially relevant if systems are to be maintained in the long term or individual technologies are to remain interchangeable.
Frequently asked questions
Is a Stack an ADT?
Yes, if it is defined by its behavior and operations like push/pop. Is a concrete array implementation itself the ADT? No, it is one possible implementation.
Sources
- Abstract Data Types · MIT 6.102, Abstract Data Types
- Bibliografie Liskov & Zilles (1974) · MIT, Bibliografie Liskov & Zilles (1974)
Source check: 09.10.2026. Application examples are possible scenarios, not claimed customer cases.
Editorially reviewed on: