OOP flash cards: Novice level
10 OOP terms at the Novice level, as flash cards.
Updated
Terms in this deck
- Behavior
- What an object can do; the methods it offers.
- Blueprint
- The common analogy for a class: a plan used to build many objects.
- Class
- The template that describes what data and actions its objects will have.
- Constructor
- A special method that runs when an object is created and sets its starting values.
- Instance
- An object created from a class; each instance has its own data.
- Method
- A function that belongs to a class and describes something its objects can do.
- Object
- One specific thing in a program, with its own data and actions.
- Object-Oriented Programming
- A way of organizing code around objects that bundle data with the actions that use it.
- Property
- A piece of data that an object holds, such as a name or a price.
- State
- The current values of an object's data at a moment in time.