1/20
Flashcards covering key concepts from Object Oriented Java Programming, including definitions and important terminology.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No study sessions yet.
Primitive Types
Basic data types in Java such as int, float, double, char, and boolean.
Arrays
Data structures that store multiple values of the same type, accessed via indices.
Object Types
Types defined by a class in Java; objects of these types are instances of classes.
Constructor
A special method in a class used to initialize new objects.
Method
Defines an action or behavior that an object can perform
this keywoard
Reference to the current object (the object on which a method or constructor is being called).
Method Overriding
Re-defining a method in a subclass that already exists in its superclass.
Access Modifiers
Keywords that set the accessibility of classes, methods, and other members.
Encapsulation
The bundling of data and methods that operate on that data within one unit, typically a class.
Inheritance
A mechanism where one class can inherit fields and methods from another class.
Polymorphism
The ability of different classes to be treated as instances of the same class through a common interface.
Exception Handling
Mechanism to respond to the occurrence of exceptions during program execution.
Generics
A feature that allows types to be parameters when defining classes, interfaces, and methods.
ArrayList
A resizable array implementation of the List interface in Java.
String Pool
A special storage area in the Java heap where Strings are stored, aiding memory efficiency.
Conditional Statements
Blocks of code that execute based on whether a condition evaluates to true or false.
Looping Structures
Control flow structures that allow code to be executed repeatedly based on a condition.
Abstract Class
A class that cannot be instantiated and may contain abstract methods.
Interface
A collection of abstract method declarations that define a contract for implementing classes.
Method Overloading
Defining multiple methods in the same class with the same name but different parameter lists.
Static Method
A method that belongs to the class rather than instances of the class, and can be called without an object.