0 votes
in JAVA by

Which method is used to concatenate two strings in Java?

a) append()

b) concat()

c) join()

d) merge()

1 Answer

0 votes
by
Answer: b) concat()

Explanation: The concat() method is used to concatenate two strings in Java.

Related questions

+1 vote
asked Oct 21, 2020 in JAVA by rahuljain1
+1 vote
asked Mar 16, 2021 in JAVA by Robindeniel
...