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
Can list be final in java?
What are the important methods of java exception class?
what do you understand by the term string with respect to java?
What is meant by collection in java?
What is class and object in java?
Can we make a constructor final?
How does arrays sort work in java?
What is meant by the value of a variable?
What does main method?
What is the static method?
What are the major drawbacks of external iteration?
What is visibility mode?
What does percent mean in java?
Which data type is a class in java?
What do you mean by of string::valueof expression in java 8?