Answer Posted / janet
1. String objects are constants and immutable where as
StringBuffer objects are not.
2.String class supports constant strings where as
StringBuffer class supports growable and modifiable strings.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What are locale settings?
How can we run a java program without making any object?
Explain thread life cycle in java?
Why declare Main() inside the class in java ?
How do you allocate memory to object?
How big is a pointer?
What is meant by call by reference?
What are the advantages of encapsulation in java?
What is the difference between sop and work instruction?
How do I find and replace in word?
Describe 2 different ways to concatenate two strings.
Explain the access modifiers for a class, method and variables?
Why java doesn’t support multiple inheritances?
how to create constants in java?
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls