0
What is abstract data type ?? And difference between datatype and abstract data type??
With example
2 RĂ©ponses
+ 1
Neel Tilak
In that sense, data types depend purely on their external behavior. Now some data types might not specify any sort of implementation and those data types are called abstract data types. ... For example, a singly linked list and a doubly linked list are different data structures because they have different implementations
0
ADT only mentions what operations are to be performed but not how these operations will be implemented. It does not specify how data will be organized in memory and what algorithms will be used for implementing the operations. It is called âabstractâ because it gives an implementation-independent view. The process of providing only the essentials and hiding the details is known as abstraction.
Ex: lists, stacks, Queues, class etc..
A datatype is a way of telling the compiler about, what valid values a variable can hold..
Ex: int, float, char etc..