What is abstract data type?

Solution

An abstract data type, also known as ADT, is a logical description for data types where data type is defined by its behaviour rather than its implementation.

For example:

Stack: Operations that are performed on stack are -  "push an item onto the stack", "pop an item from the stack", "check if the stack is empty"; implementation may be as array or linked list or user defined.

Share this thread

Comments

Comments
comments powered by Disqus

Navigation

Social Media