Abstract Data Types (ADTs) Flashcards
1
Q
Define ADT
A
a specification of the fundamental operations that characterise a data type without supplying an implementation
2
Q
What can we do with abstractions
A
create new instances using constructor methods
modify values (or states) by providing arguments to public methods
inspect values (or states) by providing public methods
hide implementation using private