Q:
What is different among String, StringBuffer, StringBuilder?
Answer
String class objects are immutable objects and they represents strings( sequence of characters)
StringBuffer class objects are mutable objects representing strings and they are Thread safe
StringBuild class objects are also mutable objects representing strings and they are not Thread safe
View answer
Workspace
Report Error
Discuss