MCQ Practice Single Best Answer Topic: ICSE Computer Application - Class X - 2023 PYQ

Q The String class method to join two strings is:

Question ID
#23953
Subchapter
ICSE Computer Application - Class X - 2023 PYQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A concat(String)
  • B .joint(string)
  • C concat(char)
  • D Concat()
Correct Answer: A

Explanation

concat(String)

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

String1.concat(String2)

Share This Question

Share this MCQ with your friends or study group.