Home » Interview » Technology

What is different among String, StringBuffer, StringBuilder?

Correct 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

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion