Vidyalelo
Java Programming · Q18

Strings

Programming · Java Programming · question 18

Q18

In Java, what does the concat() method of a String object do?

A.
Combines two strings.
Answer
B.
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