What is ADT? (Abstract Data Type)

前端 未结 18 1136
借酒劲吻你
借酒劲吻你 2020-12-12 13:04

I am currently studying about Abstract Data Types (ADT\'s) but I don\'t get the concept at all. Can someone please explain to me what this actually is? Also what is collecti

18条回答
  •  情深已故
    2020-12-12 13:37

    The term data type is as the type of data which a particular variable can hold - it may be an integer, a character, a float, or any range of simple data storage representation. However, when we build an object oriented system, we use other data types, known as abstract data type, which represents more realistic entities.

    E.g.: We might be interested in representing a 'bank account' data type, which describe how all bank account are handled in a program. Abstraction is about reducing complexity, ignoring unnecessary details.

提交回复
热议问题