Q18
In Java, what does the concat() method of a String object do?
A.
Combines two strings.
AnswerB.
Reverses a string.
C.
Removes whitespace.
D.
Returns the length.
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board