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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly