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
What is the buffer limit?
What is an interface in java? Explain
What is array sorting in java?
Why java doesn’t support multiple inheritances?
What is the use of set in java?
Does string isempty check for null?
When does a class need a virtual destructor?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What is the difference between scrollbar and scrollpane?
What is a ?
What is a variable and constant?
What is a parameter in simple terms?
How do you convert an int to a string in java?
What is keyword in oop?
Explain JMS in detail.