1/40
Looks like no tags are added yet.
Programming Paradigm
A style or pattern of programming that defines how code is structured and organized.
Procedural Programming
A programming paradigm where instructions are executed step by step using procedures or functions.
Procedure
A block of code that performs a specific task; also called a function, subroutine, or method.
Functional Programming
A programming paradigm that focuses on functions and expressions rather than step-by-step instructions.
First-Class Functions
Functions that can be assigned to variables, passed as arguments, or returned from other functions.
Object-Oriented Programming (OOP)
A programming paradigm that uses objects representing real-world entities as the main building blocks.
Object
A specific instance of a class that has data (attributes) and behavior (methods).
Class
A blueprint or template used to create objects with common properties and behaviors.
Attribute
A characteristic or property that defines an object.
Method
A block of code inside a class that defines an action an object can perform.
Procedural vs OOP
Procedural programming focuses on procedures, while OOP focuses on data and objects.
Top-Down Approach
A programming approach where a problem is broken down into smaller procedures.
Bottom-Up Approach
A programming approach where programs are built by combining objects.
Encapsulation
The process of wrapping data and methods into a single class while hiding data from outside access.
Data Hiding
Restricting access to data so it can only be modified through defined methods.
Abstraction
The process of showing only essential features while hiding implementation details.
Inheritance
The ability of a class to acquire properties and methods from another class.
Parent Class
A class whose properties and methods are inherited by another class.
Child Class
A class that inherits properties and methods from a parent class.
Polymorphism
The ability of the same method or operator to behave differently depending on context.
Operator Overloading
Using the same operator to perform different operations depending on the data type.
Function Overloading
Having multiple methods with the same name but different parameters.
Method Invocation
main() Method
The starting point of a Java program that runs automatically when the program starts.
Method Header
The part of a method that defines its access level, return type, name, and parameters.
Access Modifier
A keyword that controls the visibility of classes, methods, or variables.
public
An access modifier that allows a class or method to be accessed from anywhere.
private
An access modifier that restricts access to within the same class only.
static
A keyword used for methods or variables that belong to the class rather than an object.
Return Type
The data type that specifies what value a method sends back after execution.
Method Body
The section of a method that contains the executable statements.
Fully Qualified Identifier
A complete name that includes the class name and method name separated by a dot.
Data Field
A variable declared inside a class but outside any method.
Static Data Field
A data field shared by all objects of a class.
Non-Static Data Field
A data field that has a unique value for each object.
Getter Method
A method used to retrieve the value of a data field.
Setter Method
A method used to modify or assign a value to a data field.
Object Instantiation
The process of creating an object from a class using the new keyword.
Reference Type
A data type that stores the memory address of an object rather than the actual value.
Constructor
A special method that creates and initializes an object and has the same name as the class.
new Operator
A keyword that allocates memory for an object and calls its constructor.