lina ajay wrote:i tried either way. it still shows an error message??
fred rosenberger wrote:you want "StringBuilder", not "String Builder".
no space.
Then verify that you have
Java 1.5+ installed, and that you aren't compiling the code to be 1.4 compatible.
StringBuilder is available in Java 1.5 and above. If you want to be backwards compatible before J1.5, use StringBuffer instead.