Vidyalelo
Java Programming · Q21

Strings

Programming · Java Programming · question 21

Q21

Which of the following is true about string concatenation in Java?

A.
It always requires using the + operator.
B.
It's a costly operation in terms of performance.
C.
It can only concatenate strings with numbers.
D.
It doesn't change the original strings.
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board