Chapter 5 - Objects Flashcards

1
Q

Object

A

Combination of data and functions

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

Encapsulation / Information Hiding

A

Data inside an object cannot be accessed directly, you must call the object’s functions

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

Methods

A

Functions defined within objects

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

Immutable Object

A

This object has no methods that allow a program to change the data stored inside

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

Mutable Objects

A

The data within these objects can be changed or manipulated

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