Java java.lang.StringBuffer:
, (, ) , , .
This means that your operations with your StringBuffer will be safe, even if you are in a multi-threaded environment [for example, in a web application]. The security of your StringBuffer instance as such is determined by the scope of the variable.
source
share