Class (OOP)
A blueprint or template used to create objects in Object-Oriented Programming (OOP). Defines attributes and methods.
Object (OOP)
A specific instance of a class, possessing its own state and behaviors. It's a representation of a real-world entity.
1/12
Flashcards covering key concepts in Object Oriented Languages.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Class (OOP)
A blueprint or template used to create objects in Object-Oriented Programming (OOP). Defines attributes and methods.
Object (OOP)
A specific instance of a class, possessing its own state and behaviors. It's a representation of a real-world entity.
Method (OOP)
Actions or behaviors that can be performed by objects or classes. Can be a function (returning a value) or a procedure (not returning a value).
Attribute (OOP)
A data member or property associated with an object or a class, defining the state of an object. Also known as Class Variables.
Inheritance (OOP)
A mechanism where a class inherits the properties and behaviors of another class, promoting code reuse and establishing an 'IS-A' relationship.
Encapsulation (OOP)
Grouping data (attributes) and methods (functions) within a class, controlling access to them using access modifiers to ensure data security and code organization.
Polymorphism (OOP)
A concept where objects can take on different forms or behaviors. Different objects can share the same name or behavior but can work in different ways.
Instantiation
The term used for creating an object from a class.
Constructor
A special method within a class automatically called when an object is created (instantiated) to define initial values and perform setup.
Public Method
A method accessible and able to be invoked by any code within the same class or from any external classes
Private Method
A method only accessible within the same class and cannot be invoked by external code or other classes
Instance Method
Methods associated with individual instances/objects of a class that operate on the specific data and properties of an object.
Static Methods
Methods associated with a class itself and can be called without creating an instance (object) of the class