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 is a private class in java?

506


Is java same as core java?

584


What are the approaches that you will follow for making a program very efficient?

640


What do you understand by the bean persistent property?

549


What is a classloader in java?

534






Can keyword be used as identifier?

543


How do you trim a space in java?

498


What is bubble sorting in java?

591


What is covariant return type?

639


Is set thread safe java?

499


How many types of variables are there?

666


What are synchronized methods ?

612


What is arrays aslist in java?

515


How do you check if an arraylist is not empty?

573


How do you implement tree mirroring in java?

589