Re: Java/J2EE interview Questions what is the difference between StringBuilder and StringBuffer class?
It is very much similar to StringBuffer except for one difference: it is not synchronized,which means that it is not thread-safe. The advantage of StringBuilder is good performance.In case of multithreading, you must use StringBuffer rather than StringBuilder.
__________________ Venkat knowledge is Power |