1/19
These flashcards cover essential vocabulary related to Object Oriented Programming concepts, including definitions for classes, objects, methods, attributes, inheritance, encapsulation, polymorphism, and more.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Class
A blueprint or template used to create objects in Object Oriented Programming (OOP).
Object
A specific instance of a class that has its own state and behaviors.
Method
A function associated with a class or object that defines the behavior of that object.
Attribute
A property or data member associated with an object or class that defines its state.
Instantiation
The process of creating an object from a class.
Inheritance
A key concept in OOP where a class can inherit properties and methods from another class.
Encapsulation
The practice of grouping data and methods within a class to control access and protect the data.
Polymorphism
A concept in programming that allows objects to take on different forms, enabling methods to be used in different contexts.
Access Modifiers
Keywords such as public and private that define the accessibility of classes, methods, and attributes.
Constructor
A special method within a class called when an object is created, typically used to initialize attributes.
Instance Method
A method associated with an individual instance of a class.
Static Method
A method associated with a class that can be called without creating an instance of that class.
Method Overloading
The ability to define multiple methods with the same name but different parameters.
Base Class
Also known as the parent class, it is the class from which properties and methods can be inherited.
Derived Class
Also known as a child class, it inherits the properties and methods of a base class.
Identifier
The name used to refer to an object in programming.
Function
A method that performs a task and returns a value.
Procedure
A method that performs a task but does not return a value.
Local Variable
A variable declared within a method, only accessible within that method.
Abstraction
A concept that reduces complexity by hiding implementation details, focusing on the functionality instead.