What's Abstract Data Type (ADT)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What's Abstract Data Type (ADT)?

I learning ADT in university, but I don't understand how to create and what is. Is similar to a library (For example: <math.h>)?

9th Feb 2021, 8:21 PM
Filipe Duarte Vieira
Filipe Duarte Vieira - avatar
2 Answers
+ 4
An Abstract Data Type is a data type which provides only a basic interface without showing the implementation. Most C++ classes are abstract in that their provide functions but they implementation is kept hidden. you just call without knowing how it works...Abstract
9th Feb 2021, 8:25 PM
Ambele Newton
Ambele Newton - avatar
+ 2
Thunderbolt Oh thanks. I was confused, I think now I understand.
9th Feb 2021, 8:34 PM
Filipe Duarte Vieira
Filipe Duarte Vieira - avatar