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.
2
Q
What is an attribute?
A
An attribute is data associated with the class.
3
Q
What is a method?
A
A method is a functionality of the class.
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.
5
Q
A