what is the difference between String and StringBuffer classes?
Answer Posted / kishore cheruku
a) String objects are constants and immutable whereas StringBuffer objects are not. b) String class supports constant strings whereas StringBuffer class supports growable and modifiable strings.
Is This Answer Correct ? | 23 Yes | 0 No |
Post New Answer View All Answers
What is anti pattern in programming?
What are the supported platforms by java programming language?
Is object a data type in java?
What is linked hashmap and its features?
What are the types of exceptions?
What are the super most classes for all the streams?
What is the purpose of extern variable?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
Where are register variables stored?
What is function declaration?
What are the advantages and disadvantages of object cloning?
what are the high-level thread states? : Java thread
Can finally block be used without a catch?
What is the similarity between dynamic binding and linking?