Loading subject…
Access modifiers
Keywords that define the visibility and accessibility of class members (variables and methods).
Arguments
Actual values passed to the parameters when the method is called.
Class
A blueprint for creating objects, defining their data (attributes) and actions (methods).
Constructors
Special methods used to initialise an object
Debugging
The process of identifying and fixing errors or bugs in the code
Decomposition
The process of breaking down a complex problem into smaller, more manageable parts.
Encapsulation
An OOP principle where data (attributes) and the methods that operate on it are bundled together within a class, while restricting direct access to the data to protect it from unintended interference.
FIFO
First-In, First-Out principle.
Getters
Methods used to retrieve the value of private attributes.
Identifier
A name used to identify a programming entity, such as a class, variable, or method.
Inheritance
An OOP principle where one class (the subclass) can reuse and extend the attributes and methods of another class (the superclass).
Instance variable
A variable defined in a class for which each instantiated object of the class has its own copy.
Instantiation
The process of creating a specific object from a class.
Libraries of objects
Collections of pre-written classes and methods that can be integrated into programs.
LIFO
Last-in, First-out principle.
Local variable
A variable declared within a method or block of code.
Modularity
The practice of dividing a program into smaller, self-contained units called modules.
Naming conventions
Rules for naming variables, functions, and other identifiers in a consistent and meaningful way.
Object
A specific instance of a class, containing attributes and methods.
Object references
Variables that store the memory address of an object rather than the object itself.
Parameter variable
A variable used to pass data into a method.
Parameters
Variables used in methods to receive data from the caller.
Pointer
A reference to another node.
Polymorphism
An OOP concept where a single method can take multiple forms, allowing for the definition of different behaviour while sharing the same method name.