The ____ class contains standard methods for testing the values of characters.
Characters
The String class ____ method evaluates the contents of two String objects to determine if they are equivalent.
equals()
The ____ method requires an integer argument that indicates the position of the character at that position, starting at 0.
charAt()
A loop that never ends is called a(n) ____ loop.
infinite
Returns the lowercase equivalent of the argument
toLowerCase()
When you declare a variable of a basic, primitive type, such as int x = 10;, the memory address where x is located holds the ____.
value of 10
The ____ method returns the length of a String.
length()
The ____ method lets you add characters at a specific location within a StringBuilder object.
insert()
System.out.println(“Your name is " + yourName);
The above statement is an example of ____, which is used to join Strings.
concatenation
Appending strings together is known as
concatenation
A(n) ____ is a variable that holds a memory address.
Reference
When the String class ____ method is used to compare two Strings, it provides additional information to the user in the form of an integer value.
compareTo()
To alter just one character in a StringBuilder, you can use the ____ method, which allows you to change a character at a specified position within a StringBuilder object.
setCharAt()
The String class ____ method is similar to the equals() method. As its name implies, this method does not consider case when determining if two Strings are equivalent.
equalsCase()
Determines whether a specific character occurs within a String
indexOf()
The methods of the Character class that begin with ____ return a character that has been converted to the stated format.
to
The ____ method allows you to replace all occurrences of some character within a String.
replace()
Assume that aName refers to Roger. What is returned by
aName.compareTo("Robert");
positive number
A literal string is called a(n) ____.
anonymous object
Object that can't be changed
immutable
The ____ method and the startsWith() method each take a String argument and return true or false if a String object does or does not end or start with the specified argument, respectively.
strEnd()
The ____ method takes a String argument and returns its double value.
parseDouble()
Give an example that correctly declares and initializes a String object
String greeting = "Hello";
Takes two integer arguments: a start position and an end position
substring()
With ____ loops, the order of the conditional expressions can be important.
nested