Click an option to check whether your answer is correct.
concat(String)
Reason — concat() method is used to join two strings. Its syntax is as follows:
String1.concat(String2)
Explore more questions from similar topics.
Share this MCQ with your friends or study group.