Data Structures: Lecture Number: 04 Sandhya Thakkar
Data Structures: Lecture Number: 04 Sandhya Thakkar
Lecture Number : 04
…Sandhya Thakkar
Abstract Data Type - ADT
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
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