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
What lambda means?
What is the use of string and stringbuffer?
Is char * a string?
what are three ways in which a thread can enter the waiting state? : Java thread
what is heap memory?
What is difference between classpath and path variables in java?
What is tree node in java?
What is currentthread()?
What is string in java with example?
Is integer immutable in java?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
Which java collection does not allow null?
How do you sort objects in java?
What is the range of the short type?
What is the indent key?