Which is the best way to use for String concatenation in
Java?
Answer Posted / govind
class stringadd
{
public static void main(String args[])
{
String a="hello";
System.out.println("the string is::"+a);
a+=" govind";
System.out.println("after concating::"+a);
}
}
Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
Why are data types important?
What is use of inner class in java?
What is public/private protected in java?
Is arraylist dynamic in java?
What is integers and example?
Explain super keyword in java.
What is advantage of java?
What does this () mean in java?
Does java support Operator Overloading?
What is hotjava?
What is an accessor?
Why map is used in java?
What is number data type?
Why string is called as immutable?
Add a value x to array from index l to r where 0 <= l <= r <= n-1