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
Can we declare a class as abstract without having any abstract method?
how to convert Java project into Maven ?
What is difference between variable declaration and definition?
What is set string?
What is the difference between double and float variables in java?
What carriage return means?
Explain the importance of finally over return statement?
What are singleton services?
Which methods cannot be overridden in java?
What are "methods" and "fields"?
How to use arraylist in java netbeans?
How would you format a date in java? I.e. In the ddmmyyy format?
What is java string pool?
What are the elements of java?
What language is an assembler written in?