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
What is palindrome in java?
Is integer immutable in java?
How to sort array of 0 and 1 in java?
Is arraylist sorted in java?
How do you start a thread?
Where can I find jdk in my computer?
What do you mean by global variable?
who can i handle multiple client in RMI
What is the string function?
Explain the difference between hashmap and hashtable in java?
How do you do exponents in java?
How to declare an arraylist in java?
How many static init can you have?
What is OOP Language?
What is the difference between static and global variables and also define what are volatile variables?