OOP Flashcards

1
Q

Class

A

Template for an object
Defines methods and attributes of an object

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

Attribute

A

Defined by methods associated with class, describes the actions it can perform

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

Attributes

A

Gives object properties

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

Setter method

A

Method which sets the value of attributes

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

Getter method

A

Retrieves value of attribute

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

Object

A

Instance of a class

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

Constructor method

A

Creates a new object

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