Sail E0 Webinar
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 Solution

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

Latest Videos

Latest Test Papers