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
what is only accessible in the class in which it is declared
Private class
Scanner Utility is directed towards
User
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.
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
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 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
what number should a modulus always be set
1