StringBuilder is a class, which is very similar to the StringBuffer class. It is a new concept introduced in J2SE 5. Like the String and the StringBuffer classes, it extends directly from the Object class. The StringBuilder class can act as an alternative to StringBuffer in places where the environment is not multithreaded, i.e, where synchronization or multithreading is not significant. The signature of the StringBuilder class is as follows:
Since StringBuilder is not synchronized, it offers faster performance than StringBuffer.
- Click here to download master-ciw-enterprise-developer test study guide and practice question.
- Click here to download scbcd test study guide and practice question.
- Click here to download scdjws test study guide and practice question.
- Download free practice test for SUN SCJP exam.
- Click here to get free scjp-5-0 SCJP 5/6 exam practice questions.
- Click here to download scmad test study guide and practice question.
- Pass SUN scwcd - SCWCD
- Download free practice test for CX310-055 Java 5.0 exam.
- Get certified in first attempt download CX310-056 - SCJP 5.0 Java Upgrade simulation.
- Click here to get free CX310-065 SCJP 6.0 exam practice questions.
- Click here to download CX310-066 test study guide and practice question.