In Java, every program starts running in this special method.
What is the main method?
In Java, you must declare a variable’s ____ before you can use it.
What is the data type?
A method declared with the return type void does this instead of sending a value back to the caller.
What is returns nothing?
Java’s data type that can only store true or false.
What is boolean?
This method is used to find the position of a character or substring inside a String.
What is indexOf()?
This symbol must appear at the end of most Java statements, and forgetting it is a very common
What is a semicolon (;)?
The symbol used to access an object’s fields and methods, like in calc.findTotal()
What is the dot operator (.)?
The correct way to compare the contents of two Strings (not their memory locations).
What is .equals()?
When the Java compiler translates your readable source code into machine-executable bytecode, these specific lines of text are completely removed and ignored.
What are Comments?
In the Spiral Model of development, this step is where you figure out what the program should do and what problem it is solving.
What are Requirements?
Java variable names cannot start with a number and cannot use reserved words — these reserved words are called ____.
What are keywords?
Creating an object using the new keyword is called this.
What is instantiating an object?
The Java decision structure that runs one block when the condition is true and a different block when it’s false.
What is an if/else statement?
This kind of method belongs to the class itself and can be called without creating an object.
What is a static method?
A debugging tool that pauses program execution so you can inspect what your code is doing at a specific line.
What is a breakpoint?
This keyword makes a variable unchangeable after assignment, and its names are written in ALL_CAPS by convention.
What is final?
The variables listed in a method’s definition inside the parentheses are called these.
What are parameters?
This keyword is typically placed at the end of each switch case to prevent unintended execution of the next case.
What is break?
This Random class feature allows you to generate the same sequence of numbers repeatedly for testing.
What is a seed?
In object-oriented programming, this is the blueprint for creating objects and defines their properties and behaviors.
What is a class?
When you convert a String like "100" into an int in Java, you use this method from the Integer class.
What is Integer.parseInt()?
This statement lets you use a class like Scanner without writing its fully qualified name java.util.Scanner every time.
What is an import statement?
These two operators are short-circuit operators, meaning Java may skip evaluating the right side.
What are && and ||?
This operator can replace a simple if/else and must return values of the same type from both possible outcomes.
What is the ternary operator?