This string method removes all of the white spaces on the outsides of a string literal.
What is trim?
These are the values checked for in all if statements
What is true?
Math.abs(-1);
returns this value.
What is 1?
This type of loop is fixed repetition.
What is a for loop?
This is comprised of characters that behaves as a single unit.
What is a string?
This string method returns an integer value indicating the number of characters in the string.
what is the length?
You can only have one of these and it has to be at the very start.
what is if?
Math.round(3.4);
returns this value?
What is 3?
This type of loop is pre-conditional repetition.
What is a while loop?
What is a class?
This is the term for converting string data back into numerical form.
What is parsing?
You can only have one of these and it has to be at the very end.
What is an else?
Math.ceil(-2. 1);
returns this value.
What is -2.0?
This type of loop is post conditional repetition.
What is a do while loop?
This term refers to what is in the double quotes when creating a string variable.
What is string literal?
This is the value that indexes of strings always start at.
What is 0?
There can be as an unlimited amount of these in the middle, but only in the middle.
What is an else if?
Math.floor(-4);
returns this value.
What is -4.0?
This is how many times this loop will run:
for(int i = 0; i > 5; i++){
System.out.print("Hello");
}
What is 0?
This string method returns where it finds the parameter word with the potential to be given a starting index.
What is IndexOf?
This is the resulting integer sign from the following code segement:
System.out.println("Cat".compareTo("Dog"));
What is negative?
This is the output from the following code:
boolean data = true;
if(!data)
System.out.println("a");
else
System.out.println("b");
what is b?
This is the number range generated by Math.random.
What is between 0 and 1 exclusive?
The do while loop is the only loop to have this at the very end.
what is a semi colon?
What is the memory address?