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.
- Get certified in first attempt download master-ciw-enterprise-developer - Master CIW Enterprise Developer simulation.
- Click here to download scbcd test study guide and practice question.
- Download free practice test for SUN SCDJWS exam.
- 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.
- Best exam simulation SUN scwcd download free trial.
- Download practice question and study guide for CX310-055 for exam.
- Download free practice test for CX310-056 SCJP 5.0 Java Upgrade exam.
- Become SUN SCJP 6.0 certified.
- Best exam simulation SUN CX310-066 download free trial.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
