Difference between the String and StringBuffer classes?
Answer Posted / sathya
String class is immutable i.e oncle created the value
cannot chage.
Stringbuffer class is mutable.The value can change.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the use of flag?
What is a cup of java?
What is the use of a conditional inclusion statement in Java ?
What is the difference between heap and stack memory?
What is floor math?
Explain the difference between collection api and stream api in java8?
What is an association?
What purpose do the keywords final, finally, and finalize fulfill?
Explain with example the concept of constant variable in java.
Where can I find jdk in my computer?
What is tree in java?
What is default switch case? Give example.
Is empty string in java?
What is finalize method?
Why you should not use singleton?