English

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]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 10 String Handling
Exercises | Q 1. (xii) | Page 246
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×