Object Oriented Programming Flashcards
1
Q
Attribute
A
a named piece of data stored within an object
2
Q
Class
A
a blueprint for making an object
3
Q
Instance
A
a specific example of an object
4
Q
Method
A
a function called upon an object allowing interaction with that object
5
Q
Object
A
groups together data and functions to model something in code. Examples could include a physical item such as an LED, or a digital unit such as a bank account or an enemy in a video game
6
Q
Object-oriented programming
A
a different style of programming
7
Q
Getter
A
a method whose purpose it is to get a value within an object
8
Q
Setter
A
a method whose purpose it is to set a value within an object