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 meant by object oriented programming – oop?

753


Explain yield() method in thread class ?

820


What is a values collection view ?

865


What are the differences between forwarding () method and sendredirect() methods?

833


How many bits is a char?

729


What is the final keyword in java?

1012


What are the application of stack?

678


How to implement a multithreaded applet?

2420


What is string immutability?

739


Why declare Main() method as a static in java ?

811


Where is core java used?

770


what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent

1942


Where is java located?

727


What is runtime polymorphism or dynamic method dispatch?

762


What is meant by class loader? How many types are there? When will we use them?

719