Objects & Classes
Class Methods
Instance Methods
Math Methods
String Methods
100

This template defines a new data type with attributes and behaviors

What is a class?

100

This keyword specifies that a method or variable belongs to a class itself

What is "static"?

100

This keyword indicates that a variable refers to no object

What is "null"?

100

This method returns the absolute value of a number

What is int abs(int x) or double abs(double x) ?

100

This method returns the number of characters in a String object

What is int length() ?

200

This keyword is used to create objects

What is "new"?

200

This operator is used to access a specific method or variable of a class or object

What is the dot (.) operator?

200

This special method creates new objects and initializes its attributes

What is a constructor?

200

This method returns the non-negative square root of a number

What is double sqrt(double x) ?

200

This method returns the index of the first occurrence of a String or -1 if not found

What is int indexOf(String str) ?

300

This data is passed to a method inside the parentheses in the method call

What are parameters (arguments)?

300

This type of method does not have a return value and cannot be called as part of an expression

What is a void method?

300

A non-primitive variable holds this, which can be thought of as the memory address of that object

What is a reference?

300

This method returns the value of the first number raised to the power of the second number

What is double pow(double base, double exponent) ?

300

This method has TWO versions that return a part of the original String based on the index(es)

What is String substring(int from, int to) and String substring(int from) ?

400

Once this type of object is created, it cannot be changed

What is immutable?

400

These methods have the same name but different parameter lists

What is overloading or overloaded methods?

400

This error is caused by a method call on a null reference

What is a NullPointerException?

400

This method returns a double value greater than or equal to 0.0 and less than 1.0

What is double random() ?

400

This method returns true if this String corresponds to the same sequence of characters as the other, or false if not

What is boolean equals(Object other) ?

500

All classes in Java are subclasses of this class

What is Object?

500

This Java package contains classes like String and Math that are available by default

What is java.lang?

500

This property in Java means that the parameters in method calls are initialized with copies of the arguments

What is call by value?

500

This formula generates a random integer that is INCLUSIVE of both min and max

What is (int)(Math.random() * (max − min + 1)) + min ?

500

The method int compareTo(String other) can return these THREE possibilities based on this String and the other String

What is a negative value if this < other, zero if equal, or a positive value if this > other?

M
e
n
u