This data type holds only two possible values: true or false
What is a boolean?
This OOP blueprint defines the properties and behaviors that its objects will possess.
What is a class?
This loop is designed to execute its block of code at least once before checking the conditional expression.
What is a do-while loop?
This term describes Java Strings because their values cannot be modified once they are created in memory.
What is immutable?
This special method serves as the mandatory execution starting point for any standalone Java application
What is the main method?
This is the default primitive data type used for whole numbers in Java.
What is an int?
This OOP pillar restricts direct access to object components by using private variables and public methods.
What is encapsulation?
This jump statement immediately terminates the innermost loop or switch statement it resides in.
What is a break statement?
This class should be used instead of a standard String when you need to perform frequent, heavy modifications in a single-threaded environment.
What is StringBuilder?
This keyword allows a class to implement multiple behaviors, bypassing Java's restriction on multiple class inheritance.
What is implements (or interface)?
You use this keyword to declare a variable whose value cannot be changed after assignment.
What is final?
This keyword is used by a subclass to explicitly call a constructor or method from its parent class
What is super?
This read-only property returns the total number of elements stored inside a Java array.
What is length?
This keyword is used in a method header to declare that the method might pass specific exceptions up the call stack.
What is throws?
This standard library package containing essential classes like String, Math, and System is automatically imported into every Java file.
What is java.lang?
This occurs when you explicitly cast a larger primitive type, like a double, into a smaller type, like an int.
This mechanism allows a subclass to provide a specific implementation of a method that is already defined by its superclass.
What is method overriding?
This specific exception is thrown if you try to access index 5 in an array that only contains 3 items.
What is ArrayIndexOutOfBoundsException?
This code block always runs after a try-catch block finishes, regardless of whether an exception was thrown or caught.
What is finally?
This memory area is where Java allocates space for all newly created objects and instance variables.
What is the heap?
This is the default value assigned to an uninitialized object reference variable in a class.
What is null?
Unlike a standard interface, this type of class can contain both abstract methods and fully implemented methods with state.
What is an abstract class?
This enhanced loop syntax simplifies iterating through arrays and collections without using an explicit index counter.
What is a for-each loop (or enhanced for loop)?
This method must be used to check if two separate String objects contain the exact same characters, rather than using the == operator.
What is equals()?
This automated Java system reclaims heap memory by destroying objects that are no longer reachable by the program.
What is the Garbage Collector?