• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1

What is the difference between String, StringBuilder, and StringBuffer in Java?

javascriptjava
20th Jul 2020, 5:14 AM
sadeepa lakshan
sadeepa lakshan - avatar
2 Answers
+ 5
sadeepa lakshan https://www.google.com/amp/s/www.geeksforgeeks.org/string-vs-stringbuilder-vs-stringbuffer-in-java/amp/ https://www.journaldev.com/538/string-vs-stringbuffer-vs-stringbuilder https://www.edureka.co/blog/string-vs-stringbuffer-vs-stringbuilder/
20th Jul 2020, 5:41 AM
AÍąJ
AÍąJ - avatar
0
String is an immutable, array of characters. Stringbuilder is used to modify a given string. String buffer is a writable character sequence
20th Jul 2020, 6:35 AM
Jay Gilbert Garzon
Jay Gilbert Garzon - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
I tried changing my username already to see if the name on the certificates will change but they didn’t .
1 Votes
Started learning python
0 Votes
Hi guys I’m enjoying learning but problem is practice
0 Votes
Websites for frontend developers
1 Votes
Discrete mathematics (python)
0 Votes
I need help in programing
0 Votes
Error in Ethical AI Foundations course
1 Votes
C++, c# , graphical interface
1 Votes
I need a mentor in coding specifically AI
0 Votes
How to learn python
1 Votes