The String class method to join two strings is ______.
Advertisements
Question
The String class method to join two strings is ______.
Options
concat(String)
<string>.joint(string)
concat(char)
Concat()
MCQ
Fill in the Blanks
Advertisements
Solution
The String class method to join two strings is concat(String).
Explanation:
The String class concat() method takes the form String1.concat(String2).
shaalaa.com
Is there an error in this question or solution?
Chapter 10: String Handling - Exercises [Page 246]
