Answer Posted / kanchan
String are read only and immutable. The StringBuffer class
is used to represent characters that can be modified.
StringBuffer is faster than String when performing simple
concatenations.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
please send me hr interview questions in it industry
What does it mean that a method or field is “static”?
What is java ceil?
What are synchronized methods and synchronized statements in java programming?
Can a class have multiple constructors?
what is interface in java? Explain
Which is the best sorting technique in java?
Explain the selection sort algorithm and state its time complexity?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
Does garbage collection occur in permanent generation space in jvm?
What is fail fast in java?
What is regex used for?
What is the use of default method in interface in java?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
How many bytes are a float?