This is another name for a data field in a class.
What is an instance variable?
This keyword is used to inherit all attributes and methods from a parent class.
What is extends?
This symbol is used to concatenate two strings together.
What is +?
The output of the following code:
int x = 5;
int y = 2;
System.out.println(x/y);
What is 2?
This method is automatically called when you create an object.
What is the constructor?
This is the term for a class that can have both defined and undefined methods.
What is an abstract class?
This String method tells you how many characters a string contains.
What is length()?
double = area;
double area;
This type of programming language is human-friendly and often includes English words like if, while, etc.
What is a high-level language?
This type of method can be called without creating an instance of an object.
What is a static method?
A class that implements one of these must define EVERY method it inherits.
What is an interface?
The String method is used to determine where in the string a character or substring may be found.
What is indexOf?
if (x = 5) { ...}
if (x == 5) { ... }
What is a compiled language?
This method is automatically called when you System.out.println an object.
What is the toString method?
This keyword calls a parent method or constructor from your subclass.
What is super?
The word produced by the expression str.substring(1, 4) if str is "what's up?"
What is "hat"?
String name = "Dracula";
if (name == "Beyonce") { ... }
if (name.equals("Beyonce")) { ... }
In Java, an int data type is this many bits.
What is 32 bits?
This word describes the phenomenon of having two methods with the same name in the same class that have a different number of parameters.
What is overloading or polymorphism?
This keyword indicates a method or data field is accessible only to methods in the class.
What is private?
All objects implement or inherit this method, which lets them be represented as Strings.
What is toString()?
2 * length + 2 * width = perimeter;
perimeter = 2 * length + 2 * width;
This is the name for the phenomenon when you subtract one from the minimum value for an integer and the value "rolls over" to the maximum value for an integer.
What is an integer underflow?