What is an abstract data type in object oriented programming?

sevugarajan picture sevugarajan · Nov 7, 2009 · Viewed 99.5k times · Source

What is an abstract data type in object oriented programming? I've gone through the wiki for this topic, but I am still unclear about it. Could someone clarify?

Answer

Henk Holterman picture Henk Holterman · Nov 7, 2009

An abstract class is a generalization concept. It is a class you invent to only use as a base class for inheritance but not to instantiate objects from.

And abstract datatype (ADT) is not necessarily an OOP concept. It is an older term to describe the concepts of for example Stack and Queue in terms of their functionality, without describing the implementation.