Examveda
Examveda

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

A. Combines two strings.

B. Reverses a string.

C. Removes whitespace.

D. Returns the length.

Answer: Option A


This Question Belongs to Java Program >> Strings

Join The Discussion

Related Questions on Strings