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
How many bytes is string in java?
Explain reverse a linked list recursive java solution?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
What are checked exceptions?
What is meant by 'Class access modifiers'?
What is generics in java interview questions?
What is finalize() function in java?
What are bind parameters?
Explain try and catch keywords in java?
Can we extend singleton class in java?
Is java pass by value or pass by reference?
What is a null check?
What about instanceof operator in java?
What is string pool in java?
Java is Pass by Value or Pass by Reference?