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
What are format specifiers in java?
what is heap memory?
What is polymorphism and what are the types of it?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
What data structures are used to perform recursion?
What is abstract class? Explain
How many bytes is a string java?
When is the finalize() called? What is the purpose of finalization?
What is an class?
What are facelets templates?
What is the Concept of Encapsulation in OOPS
Explain the difference between the public, private, final, protected, and default modifiers?
What advantage do java's layout managers provide over traditional windowing systems?
What is stringjoiner ?
What is a flag value?