0

What is abstract data type ?? And difference between datatype and abstract data type??

With example

27th Apr 2021, 6:31 AM
Neel Tilak
Neel Tilak - avatar
2 odpowiedzi
+ 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
27th Apr 2021, 10:49 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar
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..
27th Apr 2021, 7:09 AM
sarada lakshmi
sarada lakshmi - avatar