Computer Science, asked by manojgupta8962p9amdw, 10 months ago


1. Which operator will you use to concatenate two text strings?​

Answers

Answered by uwaishmalik
8

Answer:

The + operator is one of the easiest way to concatenate two Strings in Java that is used by vast majority of Java developers. We can also use it to concatenate string with other datatypes such as an integer, long, etc.

Answered by AskewTronics
3

'+' Operator :

Explanation:

  • When any user wants to add the two string or character, then he can do it with the help of '+' operator.  Just for example in Python language, --

              c="abc"

              d="pqt"

              e=c+d

  • Then the 'e' variable holds the concatenation of the value of c and d variable.
  • The above question asked about the operator which is used for concatenation. Then the answer is '+' operator.

Learn More:

  • Concatenation of a string : https://brainly.in/question/279589
Similar questions