Whatever allows for a method to be called without instantiating the class in which it resides is....
static
what is T or F : Square brackets should be used with an array?
True
data type that stores a 32 bit decimal number (for smaller decimal numbers).
float
data type that stores a 64 bit whole number
long
An IDE used for java development.
What is Eclipse.
what is only accessible in the class in which it is declared
Private class
What is JUnit?
data type that stores a 64 bit decimal number
double
______ cannot be directly converted into strings
int, float, double, boolean, etc cannot be directly converted into strings in Java.
Whatever is JavaFX.
What is a java library for GUI and other functionality?
what can be accessed by classes in the same package as itself and by subclasses of its parent class in any package?
protected class
2. Which statement is true about Java?
a) Java is a sequence-dependent programming language
b) Java is a code dependent programming language
c) Java is a platform-dependent programming language
d) Java is a platform-independent programming language
d) Java is a platform-independent programming language
data type that stores an 8 bit whole number
byte
Any calculations with an integer will return a _______
whole number
what is "launch(args)"
Who invented Java Programming?
a) Guido van Rossum
b) James Gosling
c) Dennis Ritchie
d) Bjarne Stroustrup
b) James Gosling
what is T or F : Void Returns a result
False.
data type that stores a 16 bit whole number
short
what is used to return a remainder
%
What is timeline?
what is the error that occurs when an incorrect data type is entered or read?
InputMismatchException
when something is being checked what is used ?
“==“
data type that stores a 32 bit whole number (for typical whole numbers).
integer
A recursive method version of the power operation that takes in two integer arguments (base, exponent) and returns base exponent using no libraries (Assuming exponent will be non-negative).
public static int power(int base, int exponent) {
if (exponent == 0) {return 1;}
return base * power(base, exponent-1);
}
Class guarantees a duplicate-free collection, but makes NO guarantees as to iteration orde
HashSet