Chapter 5 - Objects Flashcards
1
Q
Object
A
Combination of data and functions
2
Q
Encapsulation / Information Hiding
A
Data inside an object cannot be accessed directly, you must call the object’s functions
3
Q
Methods
A
Functions defined within objects
4
Q
Immutable Object
A
This object has no methods that allow a program to change the data stored inside
5
Q
Mutable Objects
A
The data within these objects can be changed or manipulated