This primitive variable has the smallest storage size, only 1 bit.
What is boolean?
This value of A causes the program to print to the screen.
if(A) System.out.println("to the screen.");
What is true?
This word is needed in front of a class to use it in other packages.
What is public?
This is the number of times the following loop will repeat:
int i=0;
while(i<10)i++;
What is 10?
A method with the following line of code has this return type:
return "Jackson";
What is String?
Both of these primitive variables accept the use of the decimal point.
What are float and double?
These are the two operations that we use to evaluate boolean expressions. The first one only evaluates once, the second one evaluates repeatedly.
What are if statements and loops?
This word, when used in a class, means there is a single copy on the stack.
What is static?
These are the three types of loops in Java.
What are while, do-while, and for?
This is the code to initialize the character variable named Oswald to the number 5.
What is:
char Oswald = '5';
This 2 byte primitive type stores individual letters as numbers in the memory.
What is a char?
This is the value of the boolean expression:
(4<=7)&&('a'>'z')
What is false?
This type of method does not have a return type.
What is a constructor?
These are needed after the conditional statement of a loop only when you are processing multiple lines of code.
What are curly braces {}?
This is the copy of the class that occurs each time a new variable is initialized. Each new copy is created on the heap as opposed the the class object that is on the stack.
What is a class instance?
This is the order of the primitive types that accept integers from smallest to largest.
What is byte, short, int, long?
This is the value of the expression:
(A==B)||(A!=B)
What is true?
This word means that you are making a new copy of an existing method with different parameters.
What is overloaded/overloading?
This type of loop allows you to initialize variables, provide a boolean expression, and increment your variables in the same line of code.
What is a for loop?
This method is the entry point of a package and you can only have one per package.
What is the main method?
When doing math operations on number primitive types, these are the two commonly returned types. (hint: one for integers and one for decimal numbers)
What are int and double?
These operators work with all primitive variables except booleans.
What are math operators?
These are the two "things" classes have in them.
What are objects and methods?
This is the number of times the following loop will repeat:
while (true) System.out.println("and then");
What is forever/infinite?
This is reserved word that is used when you need a method or variable to remain private unless another class inherits a copy by extending the class.
What is protected?