Which operator is used to concatenate two strings in Java?
Java MCQ: Which operator is used to concatenate two strings in Java? a) + b) & c) && d) | Answer: a) + Explanation: In Java, the + operator is used to concatenate (join together) two strings. When this operator is used between two strings, it creates a new string that is the combination of […]
Which operator is used to concatenate two strings in Java? Read More »