Discussion Forum : Searching And Modifying A String
Question -

Which of these operators can be used to concatenate two or more String objects?

Options:
A .  +
B .  +=
C .  &
D .  ||
Answer: Option A

operator + is used to concatenate strings, Example String s = "i " + "like " + "java", String s contains 

"I like java".



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *