1/18
Looks like no tags are added yet.
while loop
An entry-controlled loop that repeatedly executes a block of code as long as a specified boolean condition evaluates to true.
Boolean
A primitive data type that can hold only one of two values: true or false.
class and interface
The fundamental building blocks for defining objects and contracts in Object-Oriented Programming.
extends and implements
Keywords used for inheritance and implementing interface methods.
this and super
Keywords that refer to the current object and its immediate superclass, respectively.
new
Keyword used to create instances of classes.
enum
Used to define a fixed set of constants.
public, private, protected
Access modifiers that control the visibility of classes, methods, and variables.
static
Associates members with the class rather than specific instances.
final
Prevents inheritance, overriding, or reassignment of a variable.
abstract
Indicates that a class or method must be implemented by a subclass.
if, else, switch, case, default
Conditional statements that manage conditional execution.
for, while, do
Looping structures used to handle repetitive execution in programming.
try, catch, finally, throw, throws
Keywords used to manage runtime errors and exceptions.
int, boolean, double, char, void
Primitive data types and method return types in Java.
instanceof
Used to check if an object is an instance of a specific class.
var
Allows for local variable type inference.
record
Declares an immutable data class.
sealed and permits
Keywords that restrict which classes can extend a class.