OOP Flashcards
1
Q
Class
A
Template for an object
Defines methods and attributes of an object
2
Q
Attribute
A
Defined by methods associated with class, describes the actions it can perform
3
Q
Attributes
A
Gives object properties
4
Q
Setter method
A
Method which sets the value of attributes
5
Q
Getter method
A
Retrieves value of attribute
6
Q
Object
A
Instance of a class
7
Q
Constructor method
A
Creates a new object