Google News
logo
Java - Interview Questions
Advantage and disadvantage of StringBuffer or StringBuilder:
Advantage : It given high performance because consumes less memory as all modifications stored in same memory.
Disadvantage: Original value will not be preserved.
Advertisement