Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (13.1k points)
I was trying to append a string within an existing one. So, is there any efficient way to append the string which will not take much time?

1 Answer

0 votes
by (26.7k points)

Basically, we can use the StringBuilder class, which will more efficient the way you want.

I hope this will help.

Want to become a Java Expert? Join Java Training now!!

Want to know more about Java? Watch this video on Learn Java | Java Programming for Beginners:

Related questions

0 votes
1 answer
0 votes
2 answers
+3 votes
2 answers
0 votes
1 answer
asked Jul 22, 2019 in Python by Eresh Kumar (45.3k points)
0 votes
1 answer

Browse Categories

...