The String class method to join two strings is:

ICSE Class 10 Computer Applications PYQ · 2023 Paper · Section A

1(xi)1 Mark · 2023 · Section A · 2023 Paper

The String class method to join two strings is:

Show SolutionHide Solution↓

concat(String)

Reason — concat() method is used to join two strings. Its syntax is as follows:

String1.concat(String2)

← Previous questionNext question →

Browse the free Computer Applications sample bank