View Diksha  Basu 's Profile
What is difference between String, StringBuffer and StringBuilder? When to use them?
Below is the main difference between these three most commonly used classes.

String class objects are immutable whereas StringBuffer and StringBuilder objects are mutable.
StringBuffer is synchronized while StringBuilder is not synchronized.
Concatenation operator "+" is internal implemented using either StringBuffer or StringBuilder.

Criteria to choose among String, StringBuffer and StringBuilder

If the Object value is not going to change use String Class because a String object is immutable.
If the Object value can change and will only be accessed from a single thread, use a StringBuilder because StringBuilder is unsynchronized.
In case the Object value can change, and will be modified by multiple threads, use a StringBuffer because StringBuffer is synchronized.
Asked by Diksha Basu | Oct 12 2017 | Report this Report abuse
Replies (6)
View Shatish  Rao 's Profile
StringBuffer is mutable means one can change the value of the object . The object created through StringBuffer is stored in the heap . StringBuffer has the same methods as the StringBuilder , but each method in StringBuffer is synchronized that is StringBuffer is thread safe.
To Know more visit the: -http://www.cetpainfotech.com/technology/java-training
Oct 20 2017 | Report this Report abuse
View Tanya  Sharma 's Profile
StringBuffer is mutable means one can change the value of the object . The object created through StringBuffer is stored in the heap . StringBuffer has the same methods as the StringBuilder , but each method in StringBuffer is synchronized that is StringBuffer is thread safe.
To Know more visit the: -http://www.cetpainfotech.com/technology/java-training
Oct 20 2017 | Report this Report abuse
View Shatish  Rao 's Profile
String is an immutable class while StringBuilder & StringBuffer are mutable classes. StringBuffer is synchronized while StringBuilder is not.

Below link can be useful to find more differences between String, StringBuffer & StringBuilder

Difference between String, StringBuffer and StringBuilder
Oct 20 2017 | Report this Report abuse
View Shatish  Rao 's Profile
String is an immutable class while StringBuilder & StringBuffer are mutable classes. StringBuffer is synchronized while StringBuilder is not.

Below link can be useful to find more differences between String, StringBuffer & StringBuilder

Difference between String, StringBuffer and StringBuilder
Oct 19 2017 | Report this Report abuse
View Roshan  shah 's Profile
We provide Experience Certificate of Physically Present & Government Registered Company

Experience Certificates with 100 % Verification Guaranteed
from an MNC for any company or immigration

E-mail : expforjobs(at)gmail(dot)com

Email verification, Telephonic verification, Third party verification, Physical verification will be taken care.

Documentation Processed

-------------------------------------

1.Appointment letter

2.Promotion Letter

3.Salary slips

4.Experience certificate
A
5.Relieving letter

6.Resignation mail acceptance from HR

7.Corporate E-mail ID and access

8.Corporate ID card

9.Employee ID Number maintained in database

10.Form-16/TDS certificate of last Financial Year(Excluding Tax Authenticated by Chartered Accountant)

11.HR email id and Contact No references for verification

12.Employee reference for verification
A
13.Project Manager email id and Contact No references for verification

14.Job profile Description

15.Bank statement(Need to follow procedure)

15.Resume modification from Naukri and Monster Professionals and uploading the same for better Job opportunities


100% assured background verification irrespective of the company you might be join

Email verification, Telephonic verification, Third party verification, Physical verification will be taken care.

Microsoft, Oracle, SAP, Java, Outsourcing, Testing Services, SOA, IOS, Android,
Symbian Human Resources, Banking & capital markets, Capital projects, Infrastructure Communications,
Financial services, Business Intelligence, Business Consulting, Future IT CloudInnovation
Manufacturing, Sales, Production, Finance & Account, & Many More................

http://fakeexperiencecertificate.blogspot.in
Oct 19 2017 | Report this Report abuse
View Nirupama  Pathak 's Profile
We provide Experience Certificate of Physically Present & Government Registered Company

Experience Certificates with 100 % Verification Guaranteed
from an MNC for any company or immigration

E-mail : expforjobs(at)gmail(dot)com

Email verification, Telephonic verification, Third party verification, Physical verification will be taken care.

Documentation Processed

-------------------------------------

1.Appointment letter

2.Promotion Letter

3.Salary slips

4.Experience certificate
A
5.Relieving letter

6.Resignation mail acceptance from HR

7.Corporate E-mail ID and access

8.Corporate ID card

9.Employee ID Number maintained in database

10.Form-16/TDS certificate of last Financial Year(Excluding Tax Authenticated by Chartered Accountant)

11.HR email id and Contact No references for verification

12.Employee reference for verification
A
13.Project Manager email id and Contact No references for verification

14.Job profile Description

15.Bank statement(Need to follow procedure)

15.Resume modification from Naukri and Monster Professionals and uploading the same for better Job opportunities


100% assured background verification irrespective of the company you might be join

Email verification, Telephonic verification, Third party verification, Physical verification will be taken care.

Microsoft, Oracle, SAP, Java, Outsourcing, Testing Services, SOA, IOS, Android,
Symbian Human Resources, Banking & capital markets, Capital projects, Infrastructure Communications,
Financial services, Business Intelligence, Business Consulting, Future IT CloudInnovation
Manufacturing, Sales, Production, Finance & Account, & Many More................

http://fakeexperiencecertificate.blogspot.in
Oct 18 2017 | Report this Report abuse