Which is the best way to use for String concatenation in
Java?

Answer Posted / manasa

'+'operator is the best way to concatenate bcz by using
this operator we can concatenate more than two strings.
This is not possible by using concat method

Is This Answer Correct ?    6 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens to the Exception object after handling an exception?

1922


What is array and arraylist in java?

626


Define max and min heap, also the search time of heap.

696


What is lambda expression in java?

611


Can java program run without jre?

657






Define "Access specifiers" in java.

755


How to pass arraylist to stored procedure in java?

648


What is the relationship between class and object?

618


How do you invoke a method?

623


What is flag in java?

609


What carriage return means?

604


how does multithreading take place on a computer with a single cpu? : Java thread

782


What is charat java?

616


What are the main features of java?

622


Is .net better than java?

668