1.

Which of these operators can be used to concatenate two or more String objects?(a) +(b) +=(c) &(d) ||

Answer» Right choice is (a) +

For explanation I would say: Operator + is used to concatenate strings, Example String s = “i ” + “like ” + “java”; String s contains “I like java”.


Discussion

No Comment Found

Related InterviewSolutions