Classes and Objects
Logic
Methods
Strings
Hodgepodge
100

This is the special method that is used to create an object.

What is a constructor?

100

This type of logic is named for a 19th century mathematician.

What is boolean logic?

100

In order to bring a value back to where your method was called, include this keyword, which also ends your method's execution.

What is return?

100

"New York City".length()

What is 13?

100

This operator divides two numbers and returns their remainder, not their quotient.

What is modulus?

200

Classes define these two programming constructs: one can be described as the properties of an object, the other, its actions.

What are instance variables and methods?

200

It's the truth table for the following expression:

A || !A

What is "all values are true"?

200

Its the return type when you don't want to return anything.

What is void?

200

"Columbia Prep".charAt(9);

What is P?

200

When looping over a string, be careful not to go too far - or you'll get this error.

What is an "ArrayOutOfBoundsException"?

300

For the following class, it's the code that will set the instance variable equal to the constructor parameter:

public class Soda {

   int gramsSugar;

   public Soda(int g) { ... }

}

What is gramsSugar = g;?

300

It's the final value of grade when score = 90.

if (score >= 60) grade = "D";
if (score >= 70) grade = "C";
if (score >= 80) grade = "B";
if (score >= 90) grade = "A";
else grade = "E";

What is "DCBA"?

300

What is the method header for a method that takes two integers and returns true or false based on whether those numbers are true?

What is 

public boolean check (int x, int y)

300

"AP CS A".indexOf("APCS");

What is -1?

300
This is the process by which your Java code is changed into machine-level code, and happens when you click the Run button.

What is compiling?

400

It's the error seen here:

String newWord = String("Foobar");

What is a missing "new" keyword?

400

De Morgan's law states it is equivalent to this boolean expression:

!(A || B)

What is !A && !B?

400

When printing an object, the Java compiler automatically calls this special method to determine what to print.

What is toString()?

400

"Donald Trump".substring(9);

What is "ump"?
400

This company develops and owns the rights to the Java programming language.

What is Oracle?
500

It's the two aspects of a constructor's method header that make it unique from other functions.

What are "no return type" and "same name as class"?

500

Put these operators in the correct order of precedence:  

() 

||

&&

What is 

() 

&& 

|| 

=

500

If we have two methods/constructors that share a name, the Java compiler looks at these two aspects of the method header to see which version to call.

What are the number of parameters and their data types?

500

String s = "Joe Biden";

s.substring(s.indexOf("i"), s.length() - 2);

What is "id"?

500

The process of creating an object is also known as this five-syllable phrase. 

What is instantiation?