Java StringBuilder

StringBuilder is the same as StringBuffer except that StringBuilder is not synchronized, hence it is not thread-safe. i.e. StringBuilder class objects are non-thread-safe, mutable sequences of characters. Note: StringBuilder does not override the equals method of the object class, so StringBuilder objects should be converted into string objects if you want to compare StringBuilder class … Read more