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 static data type in java?
What is the difference between variable & constant?
What are the 7 types of characters?
Explain the importance of thread scheduler in java?
What is JVM and is it platform independent?
does java support pointers?
What is canonical name in java?
Can we clone singleton object?
Can we cast any other type to boolean type with type casting?
What are the super most classes for all the streams?
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
How do you sort a list in java?
How to create a fecelet view?
Is it possible to instantiate the abstract class?
How to print an arraylist in java?