Multiple Choice
Which method could you use to obtain the string "1234567890" from the string "123-456-7890"?
A) isEmpty
B) replace
C) trim
D) length
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q34: What is an object?<br>A)A sequence of instructions.<br>B)Any
Q35: What terminology describes a method that returns
Q36: In Java, a(n) _ specifies the kind
Q37: What is the purpose of the assignment
Q38: Assuming the following Java statement:<br>int num =
Q40: Which statement about methods is true?<br>A)A method
Q41: Based on the following code, which of
Q42: What is a storage location in the
Q43: Assume the class Circle has an accessor
Q44: Which of the following statements about test