3 Abstract data type

An abstract data type (ADT) is a user-defined type with a set of well-defined interfaces. Furthermore, in order for an ADT to be meaningful, all accesses to an ADT object must be done via the defined interface.

Note that ADT is not a language feature, but how a developer looks at the organization of program code. We'll use a student record as an example in this section.



Subsections

Copyright © 2006-09-07 by Tak Auyeung