This keyword indicates "no return value"
What is void?
This is an equivalent statement to !(A && !B) using DeMorgans Law.
What is !A || B ?
This is a definition of static and non-static.
Static refers to the attributes/methods belonging to the class itself, and non-static refers to the attributes/methods belonging to an instance of the class.
The Java classes used to connect a program to a text file for reading.
What are File and Scanner?
Term that refers to the Java behavior where if the first conditional for && is false, the second one isn't evaluated (same with ||, if the first conditional is true the second isn't evaluated).
What is short circuit evaluation?
This is 45 + (int)(Math.random() * 24)
What is a statement that returns a random number in between 45 and 68.
If String str = "elephant", This is String sub if....
String sub = str.substring(str.length() - 3. str.length()-1);
What is "an"
This is a constructor's return type.
Constructors do not have return types.
Code that creates a Scanner named input to read from an existing File object named myFile.
What is Scanner input = new Scanner(myFile);?
This symbol is used to denote a comment in Java.
What is either "//" or "/* */" ?
this is is "ArithmeticException"?
What is the name of a run time error that is thrown when you try to divide a number by 0?
Name of an error that is thrown when you try to access an element of an array that doesn't exist (i.e. array[array.length]).
What is indexOutOfBounds Exception?
This part of a class initializes the instance variables.
What is a constructor?
This is the name of the only sorting method we covered that uses recursion.
What is "merge sort"?
This is for whom the word Boolean was named.
Who is George Boole?
This keyword is put in front of variable name to mark that variable as immutable (cannot change the variable's value once it is assigned).
boolean c = ((3.0*4 == 7*x)&&(4.0*2!=16/2 && 4/2=x*(int) Math.random()); IF x=2
What is false ? This will never evaluate to true.
Instance variables declared private can only be accessed directly from here.
What is within the same class they were declared
The last letter in the 3rd String in the ArrayList called words.
What is … words.get(2).substring(words.get(2).length()-1)?
The keyword "_____" is used to skip the rest of the code in an iteration and start the next iteration, and the keyword "_____" is used to exit the loop altogether.
What are "continue" and "break"?
This is ((int)(Math.random() * 6) + 5) * 2.
What is the code to return a random even number between 10 and 20 (inclusive)?
Values for a and b which will evaluate c to true when boolean c = (a || b) && (!a || b);
What is b = true?
This is what you call it when you have multiple constructors in one class.
What is "Constructor overloading"?
This is the last letter in the 3rd String in the ArrayList called words.
What is … words.get(2).substring(words.get(2).length()-1)?
This is the String method that can separate one line of file data into a returned array using a delimiter.
What is .split(String del)?