1(xi)
The String class method to join two strings is:
- (a)concat(String)
- (b)<string>.joint(string)
- (c)concat(char)
- (d)Concat()
Show SolutionHide Solution↓
concat(String)
Reason — concat() method is used to join two strings. Its syntax is as follows:
String1.concat(String2)