Single Choice Moderate

QThe String class method to join two strings is:

ID: #23953 ICSE Computer Application - Class X - 2023 PYQ 86 views
Question Info
#23953Q ID
ModerateDifficulty
ICSE Computer Application - Class X - 2023 PYQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

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

Explanation

concat(String)

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

String1.concat(String2)

Share This Question

Challenge a friend or share with your study group.