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 default constraint?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
How do you use find and replace?
Is a copy constructor?
Define array. Tell me about 2-D array.
What is the difference between && and & in java?
What does a boolean method return?
Can you inherit a constructor java?
What do you know about the garbage collector?
What is the purpose of file class?
Is oracle charging for java?
What is the purpose of extern variable?
What is java util?
What is the super void?
What about static nested classes in java?