Data abstraction Flashcards

1
Q

What is an application program interface?

A

The set of bindings exported by a package/module.

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

What is encapsulation?

A

The ability of a PL to set some of its components/bindings as private.
Levels: private, protected, public

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

What is encapsulation?

A

The ability of a PL to set some of its components/bindings as private.
Levels: private, protected, public

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