1/21
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
Attribute
A piece of data that describes an object. Attributes store information about an object.
Instance Variable
A variable defined in a class that belongs to each object created from that class. Each object has its own copy.
Method
A block of code that performs an action or task. Methods define what an object can do.
Behavior
What an object can do. Behavior is implemented using methods.
Class
A blueprint or template used to create objects. It defines attributes and methods.
Class
A real thing created from a class. An object represents a specific instance of a class.
Instance
One specific object created from a class. “Object” and “instance” mean the same thing in most cases.