ICSE Class 10 Computer Applications Question 11 of 30

Solved 2023 Question Paper ICSE Class 10 Computer Applications — Question 11

Back to all questions
11
Question

Question 1(xi)

The String class method to join two strings is:

  1. concat(String)
  2. <string>.joint(string)
  3. concat(char)
  4. Concat()
Answer

concat(String)

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

String1.concat(String2)