Matching
Match each term with the correct statement below.
Premises:
Change the length of a string in a StringBuilder object
Takes two integer arguments: a start position and an end position
Add characters to the end of a StringBuilder object
Takes a String argument and returns its double value
A memory block
Returns the lowercase equivalent of the argument
A named object of the String class
Determines whether a specific character occurs within a String
Add characters at a specific location within a StringBuilder object
Responses:
parseDouble()
buffer
String variable
append()
substring()
toLowerCase()
insert()
setLength()
indexOf()
Correct Answer:
Premises:
Responses:
Change the length of a string in a StringBuilder object
Takes two integer arguments: a start position and an end position
Add characters to the end of a StringBuilder object
Takes a String argument and returns its double value
A memory block
Returns the lowercase equivalent of the argument
A named object of the String class
Determines whether a specific character occurs within a String
Add characters at a specific location within a StringBuilder object
Premises:
Change the length of a string in a StringBuilder object
Takes two integer arguments: a start position and an end position
Add characters to the end of a StringBuilder object
Takes a String argument and returns its double value
A memory block
Returns the lowercase equivalent of the argument
A named object of the String class
Determines whether a specific character occurs within a String
Add characters at a specific location within a StringBuilder object
Responses:
Related Questions
Q25: A StringBuilder object contains a memory block
Q26: To convert a String to an integer,
Q38: The _ method and the startsWith() method
Q40: Besides Double and Integer , other wrapper
Q44: Describe how a programmer would use the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents