1/63
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Statement
A single line of Java code that performs an action
Expression
A combination of variables,values,and operators that produces a result
Assignment Statement
Stores a value in a variable using =
Conditional Statement
Executes code based on a true or false condition
Selection
A control structure that chooses between alternatives
if Statement
Executes code only if a condition is true
if-else Statement
Executes one block if true and another if false
else-if Ladder
Checks multiple conditions in sequence
switch Statement
Selects code to execute based on a variable’s value
Method
A reusable block of code that performs a specific task
Method Definition
The code that specifies what a method does
Method Call
The use of a method to execute its code
Parameter
A value passed into a method
Return Type
The data type a method sends back
void Method
A method that does not return a value
Loop
A structure that repeats code while a condition is met
while Loop
Repeats while a condition is true
do-while Loop
Runs once before checking the condition
for Loop
Repeats using initialization,condition,and update
Infinite Loop
A loop that never stops because the condition is always true
Array
A collection of elements of the same data type
Array Declaration
Defines an array variable
Array Initialization
Assigns values to an array
Array Index
The position of an element starting at 0
Array Length
The number of elements in an array
Traversing an Array
Accessing each element using a loop
Class
A blueprint for creating objects
Object
An instance of a class
Instance Variable
A variable that belongs to an object
Constructor
A special method that initializes objects
this Keyword
Refers to the current object
Inheritance
A mechanism where one class acquires another class’s properties
Superclass
The class being inherited from
Subclass
The class that inherits from another
extends Keyword
Used to inherit a class
Method Overriding
A subclass provides its own version of a method
super Keyword
Refers to the superclass
Encapsulation
Bundling data and methods together and restricting access
Access Modifier
Controls visibility of classes,methods,and variables
public
Accessible from anywhere
private
Accessible only within the class
protected
Accessible within the package or subclasses
Polymorphism
The ability for different objects to respond differently to the same method call