This datatype is used to represent the absence of type, and is often used to denote a method that does not return a value.
What is
"void"?
This type of loop is guaranteed to always execute the code in its body at least once.
What is a
"Do-While Loop"?
This is an object that is created from a class definition and has personal copies of the fields and methods of that class.
What is an
"Instance of a Class"?
This number is the index position of the last element of an array.
What is
the array's length minus 1?
While recursive algorithms are usually smaller in code size and simpler when compared to iterative loops, they are also often worse than loops in this particular regard.
What is "Efficiency"?
The char datatype represents alphanumeric characters as numbers based on this widely recognized standard.
What is
"Unicode"?
If statements use this 2-state datatype to determine whether to branch into "then" or "else" code blocks.
What is a
"boolean"?
This is a visual representation of a class's fields, constructors, and methods that specify data type, scope, and return type where applicable.
What is a
"UML Diagram"?
While the size of arrays are unchangeable once created, this type of object contains an array that automatically grows or shrinks as needed to fit the number of elements.
What is an
"ArrayList"?
In order to swap the positions of two variables in a list, it is usually necessary to first create this.
What is a "temporary", "third", or "swap" variable?
Trying to set an integer variable with the value of a float or double is an error, but you can force the compiler to let you do it anyway by using this operator.
What is a
"Cast Operator"?
Ex: int x = (int)4.2;
This type of switch case is chosen when none of the other cases match the slector.
What is
"default"?
Classes may be provided this without requiring the programmer to define it.
What is a
"Default Constructor"?
While Java code lives in .java source code files, the Java compiler transforms the .java source code into bytecode and places it in this this kind of output file.
What are
".class files"?
This sorting algorithm works by constantly comparing adjacent pairs of values in a list and then choosing whether or not to swap their positions.
What is
"Bubble Sort"?
This is the format string one would use with printf or String.format to print a decimal number with two decimal places, such as for displaying monetary values.
What is
"%.2f"?
This statement is used to exit a switch case, and can also be used to exit a loop early.
What is
"break" or "return"?
This happens when several methods share a common name, but differ in parameter type and/or count.
What is
"Method Overloading"?
Arrays in Java can have this many dimensions.
What is
"Any Number"?
This sorting algorithm works by finding what should be the next element of the sorted list, and then doing a single swap to place that element in its sorted position.
What is
"Selection Sort"?
Methods receive copies of values for thier input variables, so they can only modify the original value of an input parameter if it is this kind of variable.
What are
"Reference variables"?
As an alternative to loops, this class of algorithms work by having methods call themselves with smaller versions of the original problem.
What are
"Recursive Algorithms"?
This keyword makes it so that a class's method or field may be called without having to create an instance of that class.
What is
"static"?
In addition to standalone applications, Java code can also be made into these small programs meant for embedding into a web browser.
What are "applets"?
(Don't confuse these with Javascript)
This efficient search algorithm works by constantly splitting the search space in half, reducing the time it takes to find the target. However, it requires that the search space be pre-sorted.
What is
"Binary Search"?