Data Structures
Lecture Number : 04
…Sandhya Thakkar
Abstract Data Type - ADT
MODEL – ABSTRACT VIEW INNER STRUCTURE AND DESIGN
ADT hides the inner structure and design of the data type.
Abstract Data Type
The Term Abstract stands for considering apart from the detailed specification or
implementation
Abstraction refers to the act of representing the essential features without including the
details.
Data Type as mentioned is the set of values and set of operations that are permissible on those
values
Abstract Data Types uses following principles :
Encapsulation : Providing the data and operations on the data in a single Unit
Abstraction : Hiding the details of implementations
Class in C++ or in Java exhibits what it does through its methods but the details
(how methods work) is hidden from the user
The examples : Stack , Queue and Tree