The int, double, float, char and boolean
What are the primitive types?
A key-value pair structure we used to define 13 as 'King' (as an example) in the 'Crazy Eights' project
What is a HashMap?
The _ return type signifies no return value from the method
What is the 'void' return type?
The amount of objects that can theoretically be created from the same class (given infinite memory)
What is infinite?
What is the 'Hello World' program?
int n = 10;
int m = 3;
print(n/m);
What is 3
The maximum number of dimensions that an Array in Java can have (given infinite memory)
What is infinite?
_ is used to define additional versions of the method with different parameters
What is method overloading?
The number of parents that a single class can have (at most)
What is one?
The hot drink made from the roasted and ground seeds (beans) of a tropical shrub
What is coffee?
public class A {
public int age = 23;
//...
}
The category (kind of relationship) of 'age'
What is a global variable (property, field)
int[] arr = new int[2];
int[0] = 10;
int[1] = 20;
int[2] = 30; // The result of this line
What is ArrayIndexOutOfBoundsException?
The special method that builds the object of a type that is the same name as method's name
Car c = new Car();
What is a constructor?
Every member (properties and methods) with this access modifier are NOT inherited by the child class
What is a 'private' access modifier?
The next course progression is _
What is CS801?
int count = 0;
for (int i = 2; i < 14; i += 3) {
if (i % 2 == 0)
count += i;
}
The value of count
What is 10
The first in last out (FILO) structure we've used in the 'Crazy Eights' project (for the deck of cards)
What is a Stack?
_ is used to add or change the functionality of the inherited parent's method
What is method overriding?
Members (properties and methods) that can be used without instantiating an object of that class
What is static?
The country where the Java island is located
What is Indonesia?
Car obj = new Sedan();
The 2 type categories of 'obj'
What are the apparent and the actual types
for (int i = 0; i < 5; i++) {
for (int j = 0; j < i; j++) {
print("*");
}
println();
}
The output of the code above
What is
*
**
***
****
void A() {
// ...
A();
}
The technique used to call A() above
What is recursion?
What is super()?
The country where the creator of Java was born in
What is Canada?