What is String-builder?
What is String-builder?
776
28-Oct-2019
Updated on 28-Oct-2019
Om ji mishra
28-Oct-2019A string that we can change is called a StringBuilder. In this case, if we create any string object then we can perform any operation like insert, replace, etc. without creating a new instance for every time. It will update string at one place in memory doesn't create new space in memory.
Code:-