0 votes
1 view
in Java by (10.2k points)

 Can someone distinguish between StringBuffer and StringBuilder? Are there any performance problems when settling on any one of these?

1 Answer

0 votes
by (46.1k points)

Here’s the difference between StringBuffer and StringBuilder:

image

In the matter of performance StringBuilder is a winner but for the small iterations, the performance difference is negligible.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Jul 31, 2019 in Java by Anvi (10.2k points)
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...