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
What is a method vs function?
What is array command?
What is the difference between static (class) method and instance method?
Can you have two constructors in java?
What is a singleton in genetics?
What is structure of java heap? What is perm gen space in heap?
How are java objects passed to a method and what are native methods?
What is core java called?
What is meant by bytecode?
Are arrays dynamic in java?
Explain about the interpreter in java?
What is thread start?
What is a ?
What is a databasemetadata?
What are the types of relation?