Difference between String & StringBuffer
Answer Posted / ravikiran(aptech mumbai)
String is immutable where as StringBuffer is mutable.Means
until the newly created string object is reffered by a
reference variable it's value is uncahangable
| Is This Answer Correct ? | 34 Yes | 7 No |
Post New Answer View All Answers
How finally used under exception handling?
Which non-unicode letter characters may be used as the first character of an identifier?
How many bytes is a string in java?
What is the use of string and stringbuffer?
Why is java called java?
What is a stringbuffer?
What are the different types of constructor?
What happens if main method is not static?
Can we override static methods in java?
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
What is an empty list in java?
What is variable and constant explain with example?
What are design patterns and please explain?
What is the locale class in java programming?
What are register variables what are the advantages?