Variables of type double are used to store __________ values.
decimal
The __________ operator is used to find the remainder in division.
modulus - %
To find the length of a String, you use the __________ method.
.length()
The smallest integer data type in Java is __________.
byte
Dividing two integers in Java results in __________ division.
integer
The __________ method is used to compare the contents of two Strings for equality.
.equals()
Objects are stored as __________ in memory, unlike primitive types.
references
What is the output?
System.out.println(10 + 30 + " " + 10);
40 10
Strings in Java are __________, meaning their contents cannot be changed once created.
immutable
Substring can take __ or __ values.
char and string
A __________ is a special method used to create and initialize an object.
constructer
The keyword used to declare a constant in Java is __________.
final
Name both primitive data types in Java that use 16 bits of memory.
char and short
This error occurs when attempting to store a value too large for a variable’s data type, such as assigning 128 to a byte.
overflow