what is the difference between String and StringBuffer classes?
Answer Posted / tarun choudhary
The String class is used for strings that are not allowed to change. The StringBuffer class is used for strings that may be modified by the program.
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
How do you use spaces in java?
How strings are created in java?
How do you check if two given string are anagrams?
Tell me about your ability to work under pressure
What is the common usage of serialization? What exceptions occur during serialization?
Difference between vector and arraylist.
What does it mean that strings are immutable?
Why is java logo a cup of coffee?
Is a string literal?
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
Explain static nested classes ?
What is vector?
Explain constructors and types of constructors in java.
How to compare two strings in java program?
How to overcome the exception object reference not set to an instance of object?