Difference between String & StringBuffer
Answer Posted / kunal chwala
It means that we cant change the content of String once created. If we try append a new string using + operator
then it creates new String object.
ex.
| Is This Answer Correct ? | 13 Yes | 5 No |
Post New Answer View All Answers
Do we need to manually write Copy Constructor?
Which sort is best in java?
What are alternatives to java serialization?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
What do you mean by collectors in java 8?
What is advantage of java?
What is null object in java?
Is an array a vector?
What is data member in java?
If try block is successfully executed, Then Is Finally block executed?
What is a java lambda expression?
Java Compiler is stored in JDK, JRE or JVM?
Explain restrictions for using anonymous inner classes?
What is threaded programming and when is it used? : Java thread
What is meant by vector class, dictionary class, hash table class, and property class?