What is infinite loop?
A while loop and a for loop are interchangeable.
What is True?
A sequence of characters enclosed by double quotes.
What is a string?
What is when the condition becomes false?
The order in which the lines run for the following:
1. for(int i = 0;
2. i < 2;
3. i++){
4. System.out.println(i);
5. }
What is
1, 2, 4, 3, 2, 4, 3, 2?
The output of:
String name = "lopez";
System.out.println(name.length());
What is 5?
The class that the random method comes
What is Math?
What is 9th?
The output of this:
while(x < 10){
x + 1;
}
System.out.println(x);
What is INFINITE LOOP ERROR ERROR ERROR?
A for loop that lets you run code for each value of x in the series 3, 6, 9, 12, 15, ..., 33
What is
for(int n = 3; n <= 33; n += 3){
}?
The output of:
String name = "lopez";
System.out.println(name.substring(2, 4));
What is pe?
Key word that can be used to distinguish between parameters and fields of a class.
What is this?
2.71828...
What is e?
The output of this:
int n = 0;
while(n <= 10){
n++;
}
System.out.println(n);
What is 11?
The output of this:
for(int i = 0; i < 13; i++){
if(i % 4 == 0){
System.out.println(i);
}
}
What is
4
8
12
?
The output of:
String name = "lopez";
System.out.println(name.indexof("opez"));
What is 1?
Special method called when creating an object
What is the constructor?
Pink feminine yoshi type character in mario, wears bow on head, has big diamond ring
Who is Birdo?
int x = 20;
int y = 10;
while(y > 1){
x -= y;
y -= 2;
}
System.out.println(x);
What is -10?
The output of:
int x = 0;
for(int i = 0; i < 3; i++){
for(int j = 0; j < 2; j++){
x++;
}
}
System.out.println(x);
The output of this:
String color = "red";
if(color == "red"){
System.out.println("yay");
}
else{
System.out.println("nay")
}
What is undefined?
Prerequisite to calling a non static method.
What is an object must be created of the method's class? The method is then called using the object's reference, <reference>.<method call>
Main character of the video game "Mother 3"
Who is Lucas?