Object-Oriented Programming Flashcards

1
Q

What is a class?

A

A class is a “blueprint” for an object, and it identifies the attributes and methods of objects in that class.

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

What is an attribute?

A

An attribute is data associated with the class.

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

What is a method?

A

A method is a functionality of the class.

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

What is an object?

A

An object is a specific instance of a class. Objects from the same class will have the same attributes and methods.

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