Difference between the String and StringBuffer classes?
Answer Posted / latha
String is immutable and StringBuffer is mutable as most of
we know. In performance, StringBuffer is faster than the
String while performing simple concatenations.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
is there a separate stack for each thread in java? : Java thread
How do you declare a variable?
Explain the difference between protected and default access.
Is it possible to override the main method?
Why we use protected in java?
What is public static void main?
How do you convert string to int in java?
What is a instance variable?
How does class forname work in java?
Can list contain null in java?
What is main string [] args?
Why call by value prevents parameter value change?
What is nullpointerexception?
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
What modifiers are allowed for methods in an interface?