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 the java ide's? Explain
What is polymorphism and what are the types of it?
What is the type of lambda expression?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
Is java 9 released?
Why we use set in java?
Which non-unicode letter characters may be used as the first character of an identifier?
Is the milky way in a void?
What are the methods to rectify ambiguities in the interfaces in JAVA?
Can we override a variable in java?
What are the drawbacks of reflection?
Which of the following classes will have more memory allocated?
How do you represent a space in regex java?
What are different types of classloaders?
What is boolean in java?