Abstract Data Type
#defination of Abstract Data Type: (ADT) are models with defined behavior given by a set of values and a set of operations.
# How to understand ADT is problem when I learn this part of ADDS
(1).Data Type normally are values. It is basic value, which means we cannot do anything about that. Such as: int, float and char. But Abstract Data Type is a new data type formed by merging several basic data types. This type is defined by the user and has more functions than the basic data types. Generally, it includes structures and classes.
(2).Abstract data type is logical structure + data implementation .The logical structure does not involve the actual implementation and storage of the data in the computer. These operations are determined by the storage structure. Shortly, the abstract data type is only concerned with the problem itself.
Abstract Data Type(ADT)
最新推荐文章于 2024-06-26 16:42:47 发布