카테고리 없음

String/StringBuffer/StringBuilder

럭셔리스카이 2013. 7. 9. 17:11

String : The String class represents character strings.(Since 1.0)

StringBuffer : A thread-safe, mutable sequence of characters.(Since 1.0)

StringBuilder : A mutable sequence of characters.(Since 1.5)

Instances of StringBuilder are not safe for use by multiple threads.

If such synchronization is required then it is recommended that StringBuffer be used.